diff --git a/src/ifcobj/IfcObj.cpp b/src/ifcobj/IfcObj.cpp index d75b77f9d2..b3823442e0 100644 --- a/src/ifcobj/IfcObj.cpp +++ b/src/ifcobj/IfcObj.cpp @@ -59,7 +59,7 @@ int main ( int argc, char** argv ) { return 1; } - fObj << "# File generated by IfcOpenShell" << std::endl; + fObj << "# File generated by IfcOpenShell " << IFCOPENSHELL_VERSION << std::endl; fObj << "mtllib " << fnMtl << std::endl; std::set materials; @@ -107,7 +107,7 @@ int main ( int argc, char** argv ) { std::cout << "\rDone creating geometry " << std::endl; // Writes the material settings, defined in Materials.h - fMtl << "# File generated by IfcOpenShell" << std::endl; + fMtl << "# File generated by IfcOpenShell " << IFCOPENSHELL_VERSION << std::endl; for( std::set::iterator it = materials.begin(); it != materials.end(); ++ it ) { fMtl << GetMaterial(*it); } diff --git a/src/ifcparse/IfcParse.h b/src/ifcparse/IfcParse.h index 9a1f2bdc54..faf6662e9b 100644 --- a/src/ifcparse/IfcParse.h +++ b/src/ifcparse/IfcParse.h @@ -27,7 +27,7 @@ #ifndef IFCPARSE_H #define IFCPARSE_H -#define IFCOPENSHELL_VERSION "0.3.0-rc2" +#define IFCOPENSHELL_VERSION "0.3.0-rc3" #include #include @@ -260,7 +260,7 @@ public: /// Returns the entity with the specified id static IfcEntity EntityById(int id); /// Returns the entity with the specified GlobalId - static Ifc2x3::IfcRoot::ptr Ifc::EntityByGuid(const std::string& guid); + static Ifc2x3::IfcRoot::ptr EntityByGuid(const std::string& guid); static bool Init(const std::string& fn); static bool Init(std::istream& fn, int len); static bool Init(void* data, int len);