Move a ceCurvePolygon by code

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
FieldConsult
Posts: 54
Joined: 14 Mar 2015, 22:33

Move a ceCurvePolygon by code

Post by FieldConsult » 14 Mar 2015, 22:41

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

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

Re: Move a ceCurvePolygon by code

Post by support » 16 Mar 2015, 13:13

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
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply