Skip to main content

profile_def

Function profile_def 

Source
pub fn profile_def(
    tx: &mut Transaction,
    profile_type: ProfileType,
    name: Option<&str>,
) -> EntityId
Expand description

Stage a bare IfcProfileDef.

The supertype is concrete: it names a section and says whether it bounds an area, without describing its shape. A file may carry one where the geometry is supplied elsewhere, so this exists to round-trip such a model rather than to author new sections – prefer a subtype that states the shape.