Closed Ghesselink closed 2 months ago
Another nuance I was not aware of .. Thanks :) I'm assuming the same is true for IfcStyleAssignmentSelect, they're both deleted from the deprecated list.
We're now checking for exact types for deprecated entities. Just to be sure, I think this doesn't apply for the deprecated attributes of entities?
To give an example, for IfcRelAssigns
, the RelatedObjectsType attribute is deprecated. This will then also be the case for its subtypes; IfcRelAssignsToActor
, RelAssignsToGroup
, and so forth. The same applies to IfcReinforcingElement -> IfcReinforcingBar, Mesh, Anchor, Conduit and IfcTendon,
To give an example, for IfcRelAssigns, the RelatedObjectsType attribute is deprecated. This will then also be the case for its subtypes; IfcRelAssignsToActor, RelAssignsToGroup, and so forth. The same applies to IfcReinforcingElement -> IfcReinforcingBar, Mesh, Anchor, Conduit and IfcTendon,
Correct!
Addresses https://github.com/buildingSMART/ifc-gherkin-rules/issues/279
IfcPresentationStyleSelect
-> is deleted in IFC4X3We should probably also do this for attributes of entities (?). For this, there's a new small decorator to register enumeration types. Using this is quite intuitive; simply decorate the Enum-inherited class with
@register_enum_type),
. There is probably no need to useTypeBuilder
(correct me if I'm wrong)Furthermore, a testfile is added to ensure IfcTextLiteralWithExtent is passing.