Objects3D V2.0

Objects3D V2.0

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...
Objects3D V1.0

Objects3D V1.0

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...
Objects2D V3.0

Objects2D V3.0

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...
Objects2D V2.0

Objects2D V2.0

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...
Objects2D V1.0

Objects2D V1.0

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...