Select SelectionSet objects

Select SelectionSet objects

Anonymous
Not applicable
400 Views
3 Replies
Message 1 of 4

Select SelectionSet objects

Anonymous
Not applicable
Hi,

I have a selection set which is created based on some filter parameters. Now i want to pass this selection set to an autolisp command.
Is there any way how to pass this as argument to autocad command prompt.

I tried a lot, but autocad vba does not seems to be providing this option at all. I think you can use the selection set created via vba is use ful only for vba commands.

any comments???

Thanks in advance
0 Likes
401 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Can you post your code ?
0 Likes
Message 3 of 4

fxcastil
Advocate
Advocate
search this group for" lisp selection set" to find previous posts
on this subject

http://discussion.autodesk.com/thread.jspa?messageID=387167

http://discussion.autodesk.com/thread.jspa?messageID=387725
0 Likes
Message 4 of 4

Anonymous
Not applicable
The "Previous" selection set is the one most recently
created by a call to any of the SelectXxxx() methods
of the selection set object.

You can get it from LISP using (ssget "p")

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5065915@discussion.autodesk.com...
Hi,

I have a selection set which is created based on some filter parameters. Now i want to pass this selection set to an autolisp command.
Is there any way how to pass this as argument to autocad command prompt.

I tried a lot, but autocad vba does not seems to be providing this option at all. I think you can use the selection set created via vba is use ful only for vba commands.

any comments???

Thanks in advance
0 Likes