I've created a custom derived class for GripOverrule as well as GripData. I have the custom grip points rendering correctly during the Overrule's GetGripPoints() command.
What I am having trouble with is overriding GripData's WorldDraw() method?
public override bool WorldDraw(Autodesk.AutoCAD.GraphicsInterface.WorldDraw worldDraw, ObjectId entityId, DrawType type, Point3d? imageGripPoint, double dGripSize)
{
return base.WorldDraw(worldDraw, entityId, type, imageGripPoint, dGripSize);
}
Just trying to use this override, if I debug I can see that the code gets to inside the method, and it seems to make it through the base.Method() call no problem. But when I continue to step through after the base.Method() call AutoCAD freezes and then eventually crashes, with no StackTrace or any warning?