Jump to content

Recommended Posts

Posted

All,

I am facing issue with LISP code which runs fine with ACAD 2005. LISP stmt is (command "trim" e1 "" p30 "")

 

If i run same code on ACAD 2010 then while selecting objects for trimming if ACAD couldn't find objects at specified point (p30) then it will start forming a window and will stuck there since opposite corner is not specified.

We have used trim at multiple places in overall code.

I tried with PICKAUTO abd PICKADD variable but still while selecting object to trim it will form a crossing window.

Is there any other method thru which I can avoid this crossing window?

 

Regards,

Kaustubh

Posted

Try

(if (nentselp p30) (command "trim" e1 "" p30 ""))

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...