create_object#
- dlubal.api.rstab.Application.create_object(self, obj, model_id=None)#
- Creates a single object in the model. - Parameters:
- obj (obj) – An object to be created. 
- model_id (ModelId | None) – Unique identifier of the model. If None, the active model is used. 
 
- Returns:
- None 
 
Method Type: Core
Usage
rstab_app.create_object(
    rstab.structure_core.Material(
        no=1,
        name="S235"
    )
)
await rstab_app.create_object(
    new rstab.StructureCore.Material{
        no=1,
        name="S235"
    );
Tip
The object definition for the create_object function only requires the object number. The other attributes are optional and can be omitted if the default values are sufficient.