A project representation context indicates the coordinate system orientation, direction of true north, precision, and other values that apply to all geometry within a project or project library. A main geometric representation context is created for 3D model, and 2D representations, both can be further refined using geometric representation sub contexts.
Figure 4 illustrates an instance diagram.
Figure 4 — Project Representation Context |
<?xml version="1.0"?>
<ConceptTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" uuid="38dac6f0-997c-4544-9bca-b6326b9a3e4b" name="Project Representation Context" status="sample" applicableSchema="IFC4" applicableEntity="IfcContext">
<Rules>
<AttributeRule AttributeName="RepresentationContexts">
<EntityRules>
<EntityRule EntityName="IfcGeometricRepresentationContext">
<AttributeRules>
<AttributeRule RuleID="ContextIdentifier" AttributeName="ContextIdentifier">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
<AttributeRule RuleID="ContextType" AttributeName="ContextType">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="Precision" />
<AttributeRule AttributeName="CoordinateSpaceDimension">
<EntityRules>
<EntityRule EntityName="IfcDimensionCount" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="WorldCoordinateSystem">
<EntityRules>
<EntityRule EntityName="IfcAxis2Placement3D">
<AttributeRules>
<AttributeRule AttributeName="Location">
<EntityRules>
<EntityRule EntityName="IfcCartesianPoint" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="Axis">
<EntityRules>
<EntityRule EntityName="IfcDirection" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="RefDirection">
<EntityRules>
<EntityRule EntityName="IfcDirection" />
</EntityRules>
</AttributeRule>
</AttributeRules>
</EntityRule>
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="TrueNorth">
<EntityRules>
<EntityRule EntityName="IfcDirection" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="HasSubContexts">
<EntityRules>
<EntityRule EntityName="IfcGeometricRepresentationSubContext">
<AttributeRules>
<AttributeRule RuleID="SubContextIdentifier" AttributeName="ContextIdentifier">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
<AttributeRule RuleID="SubContextType" AttributeName="ContextType">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="TargetScale">
<EntityRules>
<EntityRule EntityName="IfcPositiveRatioMeasure" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="TargetView">
<EntityRules>
<EntityRule EntityName="IfcGeometricProjectionEnum" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="UserDefinedTargetView">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
</AttributeRules>
</EntityRule>
</EntityRules>
</AttributeRule>
</AttributeRules>
</EntityRule>
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="Phase">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="ObjectType">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
<AttributeRule AttributeName="LongName">
<EntityRules>
<EntityRule EntityName="IfcLabel" />
</EntityRules>
</AttributeRule>
</Rules>
</ConceptTemplate>