ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does it has any APIs to get the group associated to an element?

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
146 Views, 2 Replies

Does it has any APIs to get the group associated to an element?

just as title, does anybody knows that, thanks!
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Search this newsgroup for "GetGroups", and you should
find a function I posted several times.

"cdlee" wrote in message
news:f107045.-1@WebX.maYIadrTaRb...
> just as title, does anybody knows that, thanks!
>
>
Message 3 of 3
Anonymous
in reply to: Anonymous

An entity that is an element of a group has the group object as persistent
reactor. Therefore, you can read the list of reactors attached to that
entity (AcDbObject::reactors() function), and if it is a persistent reactor
of type AcDbGroup, then you have the group object and can obtain its name.

Cheers,

Stephen Preston
Developer Technical Services
Autodesk

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost