Move a ceCurvePolygon by code
Moderators: SDS, support, admin
-
- Posts: 54
- Joined: 14 Mar 2015, 22:33
Move a ceCurvePolygon by code
Hi:
I see in the forum how I can move a hatch by code but, how I can make the same with a ceCurvePolygon and a cePolyPolygon. can you show some code for that?
Thanks
I see in the forum how I can move a hatch by code but, how I can make the same with a ceCurvePolygon and a cePolyPolygon. can you show some code for that?
Thanks
Re: Move a ceCurvePolygon by code
Hello,
You can move ceCurvePolygon in the same way as a hatch (see this post), because the TsgCADHatch class inherits the BoundaryData property from TsgCADCurvePolygon. As for cePolyPolygon, TsgCADPolyPolygon is a base class for polygon entities, intrinsically, it is not an entity, therefore you can not move it by code.
Mikhail
You can move ceCurvePolygon in the same way as a hatch (see this post), because the TsgCADHatch class inherits the BoundaryData property from TsgCADCurvePolygon. As for cePolyPolygon, TsgCADPolyPolygon is a base class for polygon entities, intrinsically, it is not an entity, therefore you can not move it by code.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support