Message 1 of 4

Not applicable
12-22-2013
12:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I don't quite get the GsMarker thing. I have a custom object. In it's subWorldDraw I have:
wd->subEntityTraits().setSelectionMarker(1000185);
wd->geometry().circle(pt1, r1, normal());
which I thought was how to set the GsMarker for this circle subentity of my object.
Then somewhere else I try finding this subentity by:
AcGePoint3d pickpnt;
int numPaths;
AcDbFullSubentPath* subentPaths;
AcGeMatrix3d xform;
Acad::ErrorStatus es;
es = getSubentPathsAtGsMarker(AcDb::kVertexSubentType, 1000185, pickpnt, xform, numPaths, subentPaths);
but this always returns eInvalidInput.
I can't really find any good documentation or example of how to do this anywhere...
Solved! Go to Solution.