Skip to main content

create_project

Function create_project 

Source
pub fn create_project(
    tx: &mut Transaction,
    global_id: &str,
    name: Option<&str>,
    units: Option<EntityId>,
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcProject.

Kept separate from the containers: IfcProject is an IfcContext, not an IfcSpatialStructureElement, so slots 5 and up mean different things and sharing the path would misplace them.

ยงErrors

Refuses a malformed GlobalId.