Skip to main content

add_section_properties

Function add_section_properties 

Source
pub fn add_section_properties(
    tx: &mut Transaction,
    section_type: &str,
    start_profile: EntityId,
    end_profile: Option<EntityId>,
) -> PropertyResult<EntityId>
Expand description

Stage an IfcSectionProperties.

section_type is TAPERED or UNIFORM. A uniform section may still carry an end profile; the schema does not tie the two, and refusing the combination here would reject files it permits.

ยงErrors

Refuses a section type outside the enumeration.