Moving PolyLine, Polygon and so on

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
Sing
Posts: 48
Joined: 12 Apr 2020, 17:39

Moving PolyLine, Polygon and so on

Post by Sing » 22 Feb 2021, 03:16

Hello

I am trying to clone entities and move.
Some entities such as CADText are simple to move using point property.
However, entities like CADLWPolyLine and CADPolygon are not easy to move, because they contain multiple points.

Is there a way to move them(CADLWPolyLine, CADPolygon...) easily?

Thank you

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

Re: Moving PolyLine, Polygon and so on

Post by support » 24 Feb 2021, 00:25

Hello Sing,

In case of CADLWPolyLine you will have to move each vertex in a CADLWPolyLine.Vertexes collection. As for CADPolygon, there is no such class in CADImport namespace.

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

Sing
Posts: 48
Joined: 12 Apr 2020, 17:39

Re: Moving PolyLine, Polygon and so on

Post by Sing » 24 Feb 2021, 12:09

I get it. Thank you.

Post Reply