There are blocks in the drawing, each containing several nested entities. Need a command which would find all the nested entities which got into the selection area provided by user (not necessary to select entities, just get the ids). GetNestedEntity() does what I need but for a single entity only.
Selection of 'Trim' command does exactly what I need. How could I achieve the same behaviour?
... not necessary to select entities, just get the ids ...
It is easy to iterate BlockTableRecode and get all ObjectId's of subentities (except constant AttributeDefinition)
Doesn't work. Even blocks can not be selected in this case.
Have found similar question here, but it was not answered
It is look you are right. IMHO only way is using pure ObjectARX (not AutoCAD .NET API) like this: http://adndevblog.typepad.com/autocad/2012/08/aced
Or using P/Invoke in .NET to call acedSSGet(L"_N:U",...);
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.