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",...);
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!