diff --git a/src/ifcwrap/IfcParseWrapper.i b/src/ifcwrap/IfcParseWrapper.i index 4596c662ef..10405e6c65 100644 --- a/src/ifcwrap/IfcParseWrapper.i +++ b/src/ifcwrap/IfcParseWrapper.i @@ -59,7 +59,7 @@ void *arg = 0; int res = SWIG_ConvertPtr(obj, &arg, SWIGTYPE_p_IfcParse__IfcLateBoundEntity, 0); if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Entity__set_argument" "', argument " "3"" of type '" "IfcParse::IfcLateBoundEntity *""'"); + SWIG_exception_fail(SWIG_ArgError(res), "Sequence element not of type IfcParse::IfcLateBoundEntity*"); } else { $1->push(reinterpret_cast(arg)); } diff --git a/src/ifcwrap/IfcPython.i b/src/ifcwrap/IfcPython.i index a302170dff..b0414862b3 100644 --- a/src/ifcwrap/IfcPython.i +++ b/src/ifcwrap/IfcPython.i @@ -41,13 +41,13 @@ #include "../ifcparse/IfcLateBoundEntity.h" %} +%include "IfcGeomWrapper.i" +%include "IfcParseWrapper.i" + namespace std { %template(int_vector) vector; %template(float_vector) vector; %template(double_vector) vector; %template(string_vector) vector; %template(material_vector) vector; -}; - -%include "IfcGeomWrapper.i" -%include "IfcParseWrapper.i" +}; \ No newline at end of file