Skip to main content

define_by_object

Function define_by_object 

Source
pub fn define_by_object(
    tx: &mut Transaction,
    global_id: &str,
    defining: EntityId,
    defined: &[EntityId],
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcRelDefinesByObject: occurrences defined by another object.

IFC4 and IFC4X3 only: it writes their layout and leaves OwnerHistory $, which IFC2X3 requires. In IFC2X3 use define_by_object_with_owner_history, which binds the model’s declared release.

§Errors

Refuses a malformed GlobalId, an empty object set, and the defining object listed among the objects it defines.