by api2gether | Dec 4, 2023 | 1. PythonParts, 1. PythonParts
Next step for the modeling of our PythonPart “Reinforced Concrete Column”, today let’s see how to configure the anchors of our 3D object. By anchoring I am particularly thinking of 2 types : altimetry management ; the insertion point in plan view. 1) GUI Script...
by api2gether | Nov 20, 2023 | 1. PythonParts, 1. PythonParts
New series in the PythonParts learning journey, let’s delve into the modeling of a 3D object : a reinforced concrete column. 1) GUI Script In this example, we will set up the initial fields required for modeling our reinforced concrete column. First and...
by api2gether | Apr 19, 2023 | 1. PythonParts
Last step for this PythonParts example, I’ll show you how to set up a legend for our object. This should include the following information : my object’s name ; the name of a characteristic geometric property ; finally, its value. 1) GUI Script First, in my...
by api2gether | Apr 11, 2023 | 1. PythonParts, 1. PythonParts
In the previous article, we saw how to prepare our code in OOP, today let’s see how to exploit its potential with this new example. Indeed, we are going to complete our PythonPart in order to generate for choice among these 2D objects: a line ; a rectangle ; a...
by api2gether | Apr 4, 2023 | 1. PythonParts, 1. PythonParts
We will build more complex objects on Allplan software, but first at all a word about Object Oriented Programming (OOP)… 1) Object Oriented Programming Object Oriented Programming (called OOP) is a way of organizing your code. It allows us to create entities...