ifcopenshell.api.structural.add_structural_load

Module Contents

ifcopenshell.api.structural.add_structural_load.add_structural_load(file: ifcopenshell.file, name: str | None = None, ifc_class: str = 'IfcStructuralLoadLinearForce') ifcopenshell.entity_instance

Adds a new structural load

Structural loads may be actions or reactions. A simple load might be a static and be linear, planar, or a single point. Alternatively, loads may be defined as a configuration of multiple loads.

Parameters:
  • name (str,optional) – The name of the load

  • ifc_class (str) – The subtype of IfcStructuralLoad to create. Consult the IFC documentation to see all the types of loads.

Returns:

The newly created load entity, depending on the ifc_class specified.

Return type:

ifcopenshell.entity_instance

Example:

# Create a simple linear load
ifcopenshell.api.structural.add_structural_load(model)