Allplan Fórum

[Otázka] Working with GetEdge-Node [Vyřešeno]


Hey everyone,

I want to use the <GetEdge> node to take over the edge of a three-dimensional object in order to attach components to it. During input, I select the edge via the index. However, this index changes when I change the input parameters in my script. What could be the reason for this and how can I solve the problem?

Best regards,

Marco

Přílohy (1)

Type: image/jpeg
Staženo 25
Size: 46,16 KiB

Show solution Hide solution

Hi Marco,

inside a 3D object the edge index is not unique. It depends on the input parameter and the functions, which are used to create the object.

Maybe we can think about a node, which can select the edge by a point (if you are able to get the point for the edge selection).

Best regards,
Horst

Hi Marco,

inside a 3D object the edge index is not unique. It depends on the input parameter and the functions, which are used to create the object.

Maybe we can think about a node, which can select the edge by a point (if you are able to get the point for the edge selection).

Best regards,
Horst

Hi Horst,

thank you for your answer. I found out that when you have two connected lines and they have the same inclination, Allplan reduces them to one line. When you use the <Edge index> - node afterwards, the index changes and you get this kind of error.
I solved this problem by reducing the inclination of one line by adding - 0,001 %.

Best regards,

Marco


https://connect.allplan.com/ používá cookies  -  Více informací

Souhlasím