[Otázka] Automatically create sections

Tagy:
  • 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

Přílohy (1)

Type: image/png
Staženo 79
Size: 51,69 KiB

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

Přílohy (2)

Type: image/png
Staženo 135
Size: 132,31 KiB
Type: image/gif
Staženo 143
Size: 1,69 MiB

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

Thanks for answering the question. XD

Citoval 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