Forum de la communauté Allplan

Read Points from a 2D object [Résolu]


hi everyone, Is there a VS node to read the points list from a 2D object? like from a Polyline2D?

Pièces-jointes (1)

Type: image/png
Téléchargé 50 fois
Size: 56,51 KiB

Show solution Hide solution

2D objects are not well supported yet in VS. For reading all points from a 2D curve, you can try the node GetPolyPointCurvePoints.
Check the attached screenshot below:
loading

Product Owner – Visual Scripting, Allplan GmbH

Pièces-jointes (1)

Type: image/png
Téléchargé 64 fois
Size: 48,38 KiB

2D objects are not well supported yet in VS. For reading all points from a 2D curve, you can try the node GetPolyPointCurvePoints.
Check the attached screenshot below:
loading

Product Owner – Visual Scripting, Allplan GmbH

Pièces-jointes (1)

Type: image/png
Téléchargé 64 fois
Size: 48,38 KiB

Great! this is working fine!

I did a simple 2D to 3D element converter that sometimes may be useful

Pièces-jointes (2)

Type: image/png
Téléchargé 47 fois
Size: 330,20 KiB
Type: text/xml
Téléchargé 665 fois
Size: 3,62 KiB

https://connect.allplan.com/ utilise des cookies  -  Plus d'informations

Accepter