Skip to main content

create_curve_style

Function create_curve_style 

Source
pub fn create_curve_style(
    tx: &mut Transaction,
    schema: &Schema,
    draft: CurveStyleDraft<'_>,
) -> StyleResult<EntityId>
Expand description

Stage an IfcCurveStyle.

curve_width is an IfcSizeSelect. The schema admits only a positive length, or the descriptive literal by layer; a bare number carries no measure and is refused rather than guessed at.

ยงErrors

Refuses a style with no font, width or colour (IdentifiableCurveStyle) and a width that is neither a positive length nor by layer (MeasureOfWidth).