4x3_add2 py wrapper

This commit is contained in:
Thomas Krijnen
2023-12-19 12:40:38 +01:00
parent 9fddb564b1
commit 4dcc1b5718
2 changed files with 12 additions and 1 deletions
+5
View File
@@ -606,6 +606,11 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
return helper_fn_create_shape<Ifc4x3_add1>(geometry_library, settings, instance, representation); return helper_fn_create_shape<Ifc4x3_add1>(geometry_library, settings, instance, representation);
} }
#endif #endif
#ifdef HAS_SCHEMA_4x3_add2
if (schema_name == "IFC4X3_ADD2") {
return helper_fn_create_shape<Ifc4x3_add2>(geometry_library, settings, instance, representation);
}
#endif
throw IfcParse::IfcException("No geometry support for " + schema_name); throw IfcParse::IfcException("No geometry support for " + schema_name);
} }
+6
View File
@@ -126,6 +126,9 @@
#endif #endif
#ifdef HAS_SCHEMA_4x3_add1 #ifdef HAS_SCHEMA_4x3_add1
#include "../ifcparse/Ifc4x3_add1.h" #include "../ifcparse/Ifc4x3_add1.h"
#endif
#ifdef HAS_SCHEMA_4x3_add2
#include "../ifcparse/Ifc4x3_add2.h"
#endif #endif
#include "../ifcparse/IfcBaseClass.h" #include "../ifcparse/IfcBaseClass.h"
@@ -203,6 +206,9 @@
#ifdef HAS_SCHEMA_4x3_add1 #ifdef HAS_SCHEMA_4x3_add1
#include "../ifcparse/Ifc4x3_add1.h" #include "../ifcparse/Ifc4x3_add1.h"
#endif #endif
#ifdef HAS_SCHEMA_4x3_add2
#include "../ifcparse/Ifc4x3_add2.h"
#endif
#include "../ifcparse/IfcBaseClass.h" #include "../ifcparse/IfcBaseClass.h"
#include "../ifcparse/IfcFile.h" #include "../ifcparse/IfcFile.h"