create_object#
- dlubal.api.rfem.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
rfem_app.create_object(
rfem.structure_core.Node(
no=1,
coordinate_1=1.5
)
)
await RfemApp.create_object(
new Rfem.StructureCore.Node
{
No = 1,
Coordinate1 = 1.5
}
);
Tip
If you omit the no attribute, RFEM assigns the first available ID automatically.