Translation prior to rotation

Discuss and ask questions about CAD DLL (CAD Image DLL, CAD Importer DLL).

Moderators: admin, support, SDS

Translation prior to rotation

Postby kwebster83 » 02 Nov 2016, 10:56

Is there any way, within CAD DLL to translate the origin of a DXF file prior to calling SetRotateCAD so that the DXF is rotated about an arbitrary point?

As an example, I want to allow the end user to specify a point of origin on a DXF file and once they've done this, I want them to be able to rotate the DXF around this point.
Posts: 2
Joined: 01 Nov 2016, 11:27

Re: Translation prior to rotation

Postby support » 02 Nov 2016, 15:33

Hello Kevin,

It is not possible to modify the drawing data within CAD DLL, including the origin of a DXF file used in the SetRotateCAD function. To give the end user ability to specify the origin point, you will need to implement a translation of the DXF origin in your code.

Technical Support E-mail:
Chat support on Skype:
Posts: 2774
Joined: 30 Mar 2005, 08:36

Return to CAD DLL

Who is online

Users browsing this forum: No registered users and 6 guests