Page 1 of 1

Translation prior to rotation

Posted: 02 Nov 2016, 12:56
by kwebster83
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.

Re: Translation prior to rotation

Posted: 02 Nov 2016, 17:33
by support
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.


Mikhail