mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Adds parsing for Ifc4x3_rc2 schema
This commit is contained in:
committed by
Thomas Krijnen
parent
2514e93a8d
commit
df932b90d6
@@ -484,6 +484,12 @@ Ifc4x3_rc1::IfcStyledItem* create_styled_item(Ifc4x3_rc1::IfcRepresentationItem*
|
|||||||
return new Ifc4x3_rc1::IfcStyledItem(item, style_assignments, boost::none);
|
return new Ifc4x3_rc1::IfcStyledItem(item, style_assignments, boost::none);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Ifc4x3_rc2::IfcStyledItem* create_styled_item(Ifc4x3_rc2::IfcRepresentationItem* item, Ifc4x3_rc2::IfcPresentationStyleAssignment* style_assignment) {
|
||||||
|
IfcEntityList::ptr style_assignments(new IfcEntityList);
|
||||||
|
style_assignments->push(style_assignment);
|
||||||
|
return new Ifc4x3_rc2::IfcStyledItem(item, style_assignments, boost::none);
|
||||||
|
}
|
||||||
|
|
||||||
template <typename Schema>
|
template <typename Schema>
|
||||||
void IfcHierarchyHelper<Schema>::setSurfaceColour(typename Schema::IfcRepresentation* rep,
|
void IfcHierarchyHelper<Schema>::setSurfaceColour(typename Schema::IfcRepresentation* rep,
|
||||||
typename Schema::IfcPresentationStyleAssignment* style_assignment)
|
typename Schema::IfcPresentationStyleAssignment* style_assignment)
|
||||||
@@ -581,3 +587,4 @@ template IFC_PARSE_API class IfcHierarchyHelper<Ifc4>;
|
|||||||
template IFC_PARSE_API class IfcHierarchyHelper<Ifc4x1>;
|
template IFC_PARSE_API class IfcHierarchyHelper<Ifc4x1>;
|
||||||
template IFC_PARSE_API class IfcHierarchyHelper<Ifc4x2>;
|
template IFC_PARSE_API class IfcHierarchyHelper<Ifc4x2>;
|
||||||
template IFC_PARSE_API class IfcHierarchyHelper<Ifc4x3_rc1>;
|
template IFC_PARSE_API class IfcHierarchyHelper<Ifc4x3_rc1>;
|
||||||
|
template IFC_PARSE_API class IfcHierarchyHelper<Ifc4x3_rc2>;
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
#include "../ifcparse/Ifc4x1.h"
|
#include "../ifcparse/Ifc4x1.h"
|
||||||
#include "../ifcparse/Ifc4x2.h"
|
#include "../ifcparse/Ifc4x2.h"
|
||||||
#include "../ifcparse/Ifc4x3_rc1.h"
|
#include "../ifcparse/Ifc4x3_rc1.h"
|
||||||
|
#include "../ifcparse/Ifc4x3_rc2.h"
|
||||||
|
|
||||||
|
|
||||||
#include "../ifcparse/IfcFile.h"
|
#include "../ifcparse/IfcFile.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user