Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

[Frage] Visual Scripting: Get length of a 3D line [Gelöst]

Schlagworte:

Hello everyone,

I developed a VS that needs a 3Dline as input (Node: <Line3DInput>). In order to change the inclination of the 3Dline (e.g. with a double input of the inclination), I want to get the horizontal, vertical, and diagonal length (like the three sides of a triangle). Is there a node that gives me these length values back or do I have to calculate them manually (coordinate differences)?

Regards,

Marco

Anhänge (1)

Typ: image/jpeg
30-mal heruntergeladen
Größe: 24,40 KiB

Lösung anzeigen Lösung verbergen

Hello Marco,

you can create a Vector3D, from which you get the needed length.

Best regards
Horst

Anhänge (1)

Typ: image/png
96-mal heruntergeladen
Größe: 18,05 KiB

Hello Marco,

you can create a Vector3D, from which you get the needed length.

Best regards
Horst

Anhänge (1)

Typ: image/png
96-mal heruntergeladen
Größe: 18,05 KiB

Hi Horst,

thank you for your answer - it helped me a lot.

Best regards

Marco


https://campus.allplan.com/ verwendet Cookies  -  Mehr Informationen

Akzeptieren