Page 1 of 1

Move a ceCurvePolygon by code

Posted: 14 Mar 2015, 22:41
by FieldConsult
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

Re: Move a ceCurvePolygon by code

Posted: 16 Mar 2015, 13:13
by support
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