pub fn create_representation_subcontext(
tx: &mut Transaction,
parent: EntityId,
parent_is_subcontext: bool,
context_identifier: Option<&str>,
target_view: &str,
user_defined_target_view: Option<&str>,
) -> GeorefResult<EntityId>Expand description
Stage an IfcGeometricRepresentationSubContext.
The four inherited geometry attributes are written as
Value::Derived: the schema computes them from ParentContext,
and writing $ instead would claim the parent’s precision and
world coordinate system are simply absent.
§Errors
Enforces the schema’s two WHERE rules. ParentNoSub: a subcontext cannot parent another subcontext, since the derived attributes resolve one level only. UserTargetProvided: a USERDEFINED target view without a name states a custom view and then fails to name it, leaving nothing for a consumer to match on.