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
+6 -1
View File
@@ -606,7 +606,12 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
return helper_fn_create_shape<Ifc4x3_add1>(geometry_library, settings, instance, representation);
}
#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);
}
%}