Jump to content

Recommended Posts

Posted

hi everybody .
why some function lisp is like unknown function in my autocad
im talking about (ssget "_W" ...   )
actualy in autocad just accept (ssget "X"
and (ssget   )

?!

Posted (edited)

some ssget  like "_W" need other infromation to work. in this case it needs two points Lower left and upper right of a rectangle.

 

(ssget "_W" '(3 2) '(5 4))

 

This will select anything that is 100% inside the rectangle that goes from (3,2) to (5,4)

 

More here or here

 

--Edit

(ssget "_X") - is selecting everything in the drawing and doesn't need points.

(ssget) - is waiting for you to make a selection by default

 

Edited by mhupp
  • Like 2
Posted

Another for a non recatngular shape.

(ssget "CP" (list pt1 pt2 pt3 pt4 pt1))

 

  • Like 1

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...