I inherited the class of DgnPrimitiveTool , my aim is to use this tool class to draw a line,
in the mouse click event - _OnDataButton , write the codes.
first: how to open the AccuDraw use codes , when I draw the line , both before and after I click the mouse ,I need the AccuDraw to take effect .
second: how to use the AccuDraw to set direction , example lock x axis.
supplements: we can open the AccuDraw by shortcut F11 and O
Unknown said:I want to know how to use codes to open AccuDraw
There is an AccuDraw example delivered with the MicroStation CONNECT SDK...
..\SDK\examples\Elements\AccuDrawDemo
Unknown said:Development language is MDL
The MicroStation CONNECT SDK provides the MicroStationAPI C++ interface. While some MDL functions remain, the API is mostly C++ classes.
For example, if you search MicroStationAPI help you will find classes for both AccuDraw and AccuSnap.
Regards, Jon Summers LA Solutions
Hi George,
please read and follow MicroStation Programming forum best practices. Without information mentioned there it's hard to provide an answer:
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point