[Frage] Automatically create sections

Schlagworte:
  • Allplan
  • Visual
  • Scripting
  • VS
  • Sections

Hello!

I am trying to create a script where if I import in IFC into my project and run the script it will automatically generate the same views of it (eg floor plans of every story).

I am havign a bit of an issue with the section generating in VS.
My aproach was to define a box and get the bottom face of said boc with the get vertices node. Than use the gatfaceaspolygon node and use that as the section plane (probably a bit roundabout way of defining a plane, but its my first time using VS in Allplan).

Than I use sectionBody noce and savetodrawingfile node. The section seems to be generated but it is always empty.
Ill attache an image of the sciprt.

Does anyone know what to do to get the model objects to show up in the section? ( tried both SectionBody and SectionBodyOrtogonal nodes, same result)

Thanks,
Aron

Anhänge (1)

Typ: image/png
79-mal heruntergeladen
Größe: 51,69 KiB

You can find related questions posted earlier. Please see the image below for reference.

Anhänge (2)

Typ: image/png
137-mal heruntergeladen
Größe: 132,31 KiB
Typ: image/gif
145-mal heruntergeladen
Größe: 1,69 MiB

Zitiert von: jaeheungkim
You can find related questions posted earlier. Please see the image below for reference.

Thanks for answering the question. XD

Zitiert von: dawsonaron
Does anyone know what to do to get the model objects to show up in the section?

Please also check this post and hope it could solve your problem.

Product Owner API, Allplan GmbH