Skip to main content

create_annotation

Function create_annotation 

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

Stage a new IfcAnnotation in tx. Fails if GlobalId does not parse as a GUID, if PredefinedType is USERDEFINED with an empty ObjectType, or if any referenced entity does not resolve to its expected IFC type.