Hi to all,
my goal is select all Entities inside a closed-polyline (for example inside
a 2d box) during (or post) the moving of a included Entity; I've used a grip
overrule method, but the following code:
acedSSGet(_T("_WP"), ptList, NULL, NULL, ssname)
acedGetCurrentSelectionSet(objIds);
doesn't works well: the 'objIds' array returns all Entity inside the polilyne,
defined by ptList, except the Entity that start the AcDbGrip method.
The above code is executed in a AcDbGrip method overrule ...
Can you help me 😞 ? I've used a reactor also, but the result is the same !
Best Regards
Leonard
Hi Leonard,
Grip overrule is for customizing the grips for an entity.
If it is only for taking inputs on the window selection, grip overrule is not the one that you should be using.
To identify the entities crossing a polyline, this blog post might be helpful :
http://adndevblog.typepad.com/autocad/2012/12/finding-the-entities-that-intersect-a-polyline.html
Regards,
Balaji