Skip to main content

create_presentation_layer_with_style

Function create_presentation_layer_with_style 

Source
pub fn create_presentation_layer_with_style(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    draft: PresentationLayerDraft<'_>,
) -> StyleResult<EntityId>
Expand description

Stage a new IfcPresentationLayerWithStyle in tx. Fails if name is empty, assigned_items is empty, or any assigned item or layer style does not resolve to its expected type.