CADEntity rotation

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
lulu
Posts: 25
Joined: 12 Nov 2009, 19:55

CADEntity rotation

Post by lulu » 16 Feb 2010, 12:21

Hello,
I need to rotate a CADEntity around to an axle z that I specify, but changing the property 'angle' the object is rotated around the origin! How do I do to modify the axle of rotation?

Thanks,
Lulu

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: CADEntity rotation

Post by support » 17 Feb 2010, 16:03

Hello.
A direction of axis Z of the coordinate system of entity object sets by this object's Extrusion property. The rotation angle in extruded plane can be specified by Rotation property. However not all entities have Rotation property. For example you can rotate extruded text object.
The meaning of Angle property differs for the classes. You also can use Angle as a rotation angle in extruded plane for some classes. For example CADArc.StartAngle and CADArc.EndAngle will specify arc's rotation in extruded plane, when CADEllipse.Angle - won't. Please see help system.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply