Rotate and non-editable
Moderators: SDS, support, admin
Rotate and non-editable
Hello ,
- How can I rotate a CADArc and a CADEllipse? (I've achived to rotate CADLWPolyline, CADSpline ....)
- How can I make a non-editable and non-moveable CADEntity? (Figure in background)
Thanks in advance.
Best regards.
- How can I rotate a CADArc and a CADEllipse? (I've achived to rotate CADLWPolyline, CADSpline ....)
- How can I make a non-editable and non-moveable CADEntity? (Figure in background)
Thanks in advance.
Best regards.
Re: Rotate and non-editable
Hello.
CADArc geometry defined by its central point, radius and start/end angles. CADEllipse defined by its central point, radial point and minor to major axes ratio. Rotation around central point is simple - just recalculate StartAngle, EndAngle for an arc and RadPt for an ellipse. Rotation around some other point requires recalculation of Point property as well. Both entities are flat that means using Extrusion property to specify 3D orientation.
CAD Import .NET doesn't provide non-editable or non-moveable entities. You can realize such feature as conditional in your application. For example entity's Handle can be used.
Alexander.
CADArc geometry defined by its central point, radius and start/end angles. CADEllipse defined by its central point, radial point and minor to major axes ratio. Rotation around central point is simple - just recalculate StartAngle, EndAngle for an arc and RadPt for an ellipse. Rotation around some other point requires recalculation of Point property as well. Both entities are flat that means using Extrusion property to specify 3D orientation.
CAD Import .NET doesn't provide non-editable or non-moveable entities. You can realize such feature as conditional in your application. For example entity's Handle can be used.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support