Skip to main content

add_reinforcement_definition_properties

Function add_reinforcement_definition_properties 

Source
pub fn add_reinforcement_definition_properties(
    tx: &mut Transaction,
    global_id: &str,
    name: Option<&str>,
    description: Option<&str>,
    definition_type: Option<&str>,
    reinforcement_section_definitions: &[EntityId],
) -> PropertyResult<EntityId>
Expand description

Stage an IfcReinforcementDefinitionProperties.

This is the only member of the family that is an IfcPropertySetDefinition, so it carries the four IfcRoot slots and a GlobalId. The others are IfcPropertyAbstraction subtypes with no identity of their own.

Takes no model, so it writes the IFC4 layout with OwnerHistory $: valid IFC4 and IFC4X3, never valid IFC2X3. Use add_reinforcement_definition_properties_with_owner_history to write the model’s declared release.

§Errors

Refuses a malformed GlobalId and an empty section-definition list, whose schema bound is [1:?].