Page 1 of 1

Moving PolyLine, Polygon and so on

Posted: 22 Feb 2021, 03:16
by Sing
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

Re: Moving PolyLine, Polygon and so on

Posted: 24 Feb 2021, 00:25
by support
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

Re: Moving PolyLine, Polygon and so on

Posted: 24 Feb 2021, 12:09
by Sing
I get it. Thank you.