Create a selection set from an object name
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Create a selection set from an object name

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
iwafb
Guest





Posted: Fri Apr 01, 2005 5:35 am    Post subject: Create a selection set from an object name Reply with quote

Hi all

This might sound strange, but is there a way to add a selection set to an entity name?

I am working with groups, and the condition is that I have a selection set of one entity per group. I then cycle through the selection set to get each individual entity at a time. This is where it gets tricky. I want to then create a new selection set of all entities that are grouped to that name (entity not group), but can't see how. Any help would be appreciated.

Thanks in advance

John

Back to top
Jeff Mishler
Guest





Posted: Fri Apr 01, 2005 7:07 am    Post subject: Re: Create a selection set from an object name Reply with quote

OK, I won't even pretend that I understand what you are trying to do ;-)
But, would the (ssadd) function be what you are looking for? Or, based on
the first line of your post, "add a ss to an ename"......isn't that what
Groups are?

--
Jeff
check out www.cadvault.com
"iwafb" <nospam@address.withheld> wrote in message
news:585318.1112315758378.JavaMail.jive@jiveforum2.autodesk.com...
Quote:
Hi all

This might sound strange, but is there a way to add a selection set to an
entity name?

I am working with groups, and the condition is that I have a selection set
of one entity per group. I then cycle through the selection set to get
each individual entity at a time. This is where it gets tricky. I want to
then create a new selection set of all entities that are grouped to that
name (entity not group), but can't see how. Any help would be appreciated.

Thanks in advance

John
Back to top
iwafb
Guest





Posted: Mon Apr 04, 2005 2:49 am    Post subject: Re: Create a selection set from an object name Reply with quote

Thanks Jeff,

If you imagine several rectangles, all independent. Each one of these rectangles has one or more circles somewhere within its boundary which is grouped to the rectangle. I want to create a selection set which will cycle through each group (say one rectangle and all the circles grouped to it). If I create a selection set by windowing all rectangles and circles, then (ssname ss 1) could return the next entity in the group or in another group.

What I thought, was to create a selection set of all the rectangles (pickstyle set to 0) then add all the circles (remainder of group) to a new selection set starting with the current rectangle. Problem is that, (ssadd) works the other way. ie. start with a selection set then add an ename. I start with an ename (ssname ss index) from which I then want to create a selection set that includes all the additional entities in that group.

I hope this makes it clearer. If not, thanks for trying.

BTW, what do you mean by isn't that what groups are?

John

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB