It is possible to create a Visual Scripting that divides existing walls into fixed measurements, that is, I want an existing wall of 1.00 m to be divided into 4 walls of 0.25
Support Forum
- Forum
- CAD Parametric Modelling
- Visual Scripting
[Frage] Division into walls
Hilfreichste Antwort anzeigen Hilfreichste Antwort verbergen
Nice, but the "Bot" has no capability to solve a problem creatively.
Close, good hint: DivisionPoints!
But the DivisionPoints should be calculated from / on the wall axis.
The wall axis must therefore be “extracted” first.
What the “bot” doesn't know is that there is no node that can be used to divide walls at partition points!
But that's exactly what was asked: How do you do that? Which nodes can be used to do this?
So the answer is (as expected) just general “parroting” of some previously read texts, and at this point no help!
If a real answer is wanted, here is my personal assessment: With Visual Scripting this is currently not possible.
It may be possible to create something like this with the Allplan Python API. The necessary functions are available there, except for: The “update” of the wall will be difficult, as many new walls have to be added.
i personally do not know, but i asked AI:
The Bot said:
Yes, it is possible to create a Visual Scripting routine in Allplan to divide an existing wall into smaller segments of fixed measurements, such as dividing a 1.00 m wall into four 0.25 m walls. Visual Scripting in Allplan allows you to automate tasks and create custom workflows by using nodes to define actions and parameters.
Here’s a general approach to achieve this:
Open Visual Scripting: Start by opening the Visual Scripting environment in Allplan. You can find this under the “Tools” menu.
Create Nodes: You will need to create a series of nodes that will perform the following actions:
Select the Wall: Use a node to select the existing wall you want to divide.
Measure the Wall: Use a node to get the length of the wall.
Calculate Division Points: Create a node to calculate the division points based on the desired segment length (e.g., 0.25 m).
Divide the Wall: Use nodes to split the wall at the calculated division points.
Set Parameters:
Define the parameters for the division, such as the fixed segment length (0.25 m in your case).
Execute the Script: Run the script to apply the division to the selected wall.
Review and Adjust: After executing the script, review the results in the model. You may need to adjust the script or parameters if the division does not meet your expectations.
For detailed guidance on using Visual Scripting, you can refer to Allplan’s documentation or tutorials on Visual Scripting. This will provide you with more specific instructions on creating and connecting nodes to achieve your desired outcome.
Sources:
https://help.allplan.com/Allplan/2025-0/1033/Allplan/41754.htm
https://help.allplan.com/Allplan/2025-0/1033/Allplan/8368.htm
https://help.allplan.com/Allplan/2025-0/1033/Allplan/6594_2.htm
Allplan Webentwicklung
Private messages must be private. No support request via Private message.
Nice, but the "Bot" has no capability to solve a problem creatively.
Close, good hint: DivisionPoints!
But the DivisionPoints should be calculated from / on the wall axis.
The wall axis must therefore be “extracted” first.
What the “bot” doesn't know is that there is no node that can be used to divide walls at partition points!
But that's exactly what was asked: How do you do that? Which nodes can be used to do this?
So the answer is (as expected) just general “parroting” of some previously read texts, and at this point no help!
If a real answer is wanted, here is my personal assessment: With Visual Scripting this is currently not possible.
It may be possible to create something like this with the Allplan Python API. The necessary functions are available there, except for: The “update” of the wall will be difficult, as many new walls have to be added.
Thanks jveletti for your answer, I had already tried the AI option, my answer was a bit more elaborate but as Nemo says, it mentioned nodes that do not exist in VisualScripting, I got to the point of selecting the axes of the walls and dividing them according to a numerical parameter but I have not found how to cut them and replace them, as Nemo says, apparently it can only be done through the Allplan python API.
Thanks