get_objects_to_exclude#
- dlubal.api.rfem.Application.get_objects_to_exclude(self, *, addon, model_id=None)#
Get objects excluded from the design of particular design situations and combinations. The table has a row for every design situation and combination designed by the addon, identified by its ‘case_object’. The rows follow the model and cannot be added through the API. Only the object types the addon works with have a column. ‘to_solve’ tells whether the case object is solved in this addon, ‘design_situation’ is the caption of the design situation type and both are results of the model.
- Parameters:
addon (DesignAddons) – The design addon whose table of objects to exclude is read.
model_id (ModelId | None) – Unique identifier of the model. Active model is used if this field is not set.
- Returns:
Method Type: Core
Usage
# Read the Objects to Exclude table of a design add-on
objects_to_exclude: rfem.ObjectsToExcludeTable = rfem_app.get_objects_to_exclude(
addon=rfem.DesignAddons.STEEL_DESIGN
)
print(f"OBJECTS TO EXCLUDE:\n{objects_to_exclude}")
// Read the Objects to Exclude table of a design add-on
Rfem.ObjectsToExcludeTable? objectsToExclude = rfemApp.get_objects_to_exclude(
addon: Rfem.DesignAddons.SteelDesign
);
Console.WriteLine($"OBJECTS TO EXCLUDE:\n{objectsToExclude}");
Examples