Skip to main content

linear_element

Function linear_element 

Source
pub fn linear_element(
    tx: &mut Transaction,
    global_id: &str,
    name: Option<&str>,
    placement: Option<EntityId>,
) -> Result<EntityId, AlignmentError>
Expand description

Stage an IfcLinearElement.

IFC4X3 only: IFC4 does not declare it, and guid resolving against a schema without the entity is the caller’s signal.

§Errors

Refuses a GlobalId that is not 22 characters.