I have a custom jig that extends AcEdJig to use with a custom object.
In the routine a jig is created and a method on the jig called that starts the AcedJig::drag() routine.
The code is exactly the same in R18 and R19 and I can see in the debugger that the jig is my custom jig.
The problem is the drag behaviour is not working properly in R19, there is no preview of my custom object being dragged. The custom code is stepped through fine and it reaches the AcedJig::drag() call.
However in R18 the jig works correctly but will not step through any code into the custom jig. Both versions I have been using mixed mode debugging.
The call works like this:
CustomJig * newJig = new CustomJig(customObject); newJig->doIt(_T("Prompt for user"));
The 'do it' method
Adesk::Boolean CustomJig::doIt(AcString prompt) { setDispPrompt(prompt); AcEdJig::DragStatus stat = drag(); setDispPrompt(_T("\n")); if (stat != 0) { return Adesk::kFalse; } return Adesk::kTrue; }
Anyone have any ideas why R19 isn't working and R18 won't step through?
It's not the debugger I can set breakpoints and step through in R19.
It's not the code as it works in R18, it's not 'ghosting' anyway it's just not giving a moving preview in R19 - same code as R18 though but using a different version of ObjectArx
Hi Dan,
I have attached a modified version of the EllipseJig SDK sample to jig a custom entity.
The preview was displayed while jigging in AutoCAD 2013.
To try the attached project :
-Build the attached project
- start AutoCAD 2013
- Appload the .dbx and .arx modules
- Run the "Test" command and provide the inputs for the ellipse custom entity.
It seems this behavior is specific to your implementation. Can you please share a reproducible sample project ?