[Question] Automatically create 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

Pièces-jointes (1)

Type: image/png
Téléchargé 71 fois
Size: 51,69 KiB

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

Pièces-jointes (2)

Type: image/png
Téléchargé 127 fois
Size: 132,31 KiB
Type: image/gif
Téléchargé 137 fois
Size: 1,69 MiB

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

Thanks for answering the question. XD

Cité par 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


https://campus.allplan.com/ utilise des cookies  -  Plus d'informations

Accepter