IFC 4.3.2.20251031 (IFC4X3_ADD2) under development

8.18.3.19 IfcStyledRepresentation(样式化表示)

8.18.3.19.1 语义定义(Semantic definition)

IfcStyledRepresentation 表示样式化表示的概念,即在表示上下文中对产品或产品组件(如材料)的表示。此表示上下文不必是(但可以是)几何表示上下文。

样式化表示必须包含一个或多个带有相关样式信息(曲线、符号、文本、填充区域或表面样式)的样式化项。它不应包含被样式化的几何表示项。

8.18.3.19.2 实体继承(Entity inheritance)

8.18.3.19.3 特性(Attributes)

# 特性(Attributes) 类型 描述
IfcRepresentation (7)
1 ContextOfItems IfcRepresentationContext

表示上下文的定义,不同子类型的表示在此上下文中有效。

2 RepresentationIdentifier OPTIONAL IfcLabel

在项目内使用的表示的可选标识符。

3 RepresentationType OPTIONAL IfcLabel

表示上下文类型的描述。表示类型定义了用于表示产品表示的几何或拓扑类型。更多信息在子类型 IfcShapeRepresentationIfcTopologyRepresentation 中给出。 上下文类型支持的值应由实施者协议规定。

4 Items SET [1:?] OF IfcRepresentationItem

为此表示定义的一组几何表示项。

RepresentationMap SET [0:1] OF IfcRepresentationMap FOR MappedRepresentation

IfcRepresentationMap 中使用此表示。如果使用,此 IfcRepresentation 可以作为其 Items 之一,通过 IfcMappedItem 分配给多个表示。使用 IfcRepresentationMap 是多个产品共享一个表示(通常为 IfcShapeRepresentation 类型)的方式。

LayerAssignments SET [0:?] OF IfcPresentationLayerAssignment FOR AssignedItems

将整个表示分配给单个或多个图层。LayerAssignments 可以被 Items 列表中的 IfcRepresentationItemLayerAssigments 覆盖。

OfProductRepresentation SET [0:?] OF IfcProductRepresentation FOR Representations

引用此单独表示所适用的产品表示。在大多数情况下,它引用一个或多个产品形状,此形状表示适用于这些产品形状。

表 8.18.3.19.A

8.18.3.19.4 形式化命题(Formal propositions)

名称 描述
OnlyStyledItems

在继承自 IfcRepresentationItems 列表中,仅允许 IfcStyledItem(或其子类型)作为成员。

SIZEOF(QUERY(temp <* SELF\IfcRepresentation.Items | 
  (NOT('IFC4X3_DEV_62887e3f.IFCSTYLEDITEM' IN TYPEOF(temp)))
)) = 0
表 8.18.3.19.B

8.18.3.19.5 形式化表示(Formal representation)

ENTITY IfcStyledRepresentation
 SUBTYPE OF (IfcStyleModel);
 WHERE
	OnlyStyledItems : SIZEOF(QUERY(temp <* SELF\IfcRepresentation.Items | 
  (NOT('IFC4X3_DEV_62887e3f.IFCSTYLEDITEM' IN TYPEOF(temp)))
)) = 0;
END_ENTITY;

8.18.3.19.6 参考文献