Translation prior to rotation

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

Moderators: support, SDS, admin

Post Reply
Posts: 2
Joined: 01 Nov 2016, 13:27

Translation prior to rotation

Post by kwebster83 » 02 Nov 2016, 12: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: 2930
Joined: 30 Mar 2005, 11:36

Re: Translation prior to rotation

Post by support » 02 Nov 2016, 17: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:

Post Reply