icon

Support Forum

[Frage] Gravity Center

Schlagworte:
  • Allplan
  • 2025
  • Visual
  • Scripting
  • Bug
  • Issue
  • Code
  • 3dmodel

Hello there,

I've made a visual script to try and get the gravity center but get error every time (cf pictures) and i don't know what to do to resolve the issue. If you have any idea i take it !

Thanks for answering

Anhänge (3)

Typ: image/png
18-mal heruntergeladen
Größe: 66,33 KiB
Typ: image/png
17-mal heruntergeladen
Größe: 64,27 KiB
Typ: image/png
12-mal heruntergeladen
Größe: 57,86 KiB

The CalcMass-Node and also the underlaying function accepts only 3D-Solids, like Polyhedron3D, BRep3D and others shown in the message. You have obviously select a 2D-Line!
If you want the Centerpoint of the line, please use other Node to get it!