mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
- Fixed a bug regarding IfcUnitAssignment
- Separate IFC parsing library and geometry libraries [#3395025] - Added example for IfcParse usage without geometry or Open CASCADE functionality - Cleanup of vcproj Open CASCADE dependencies - Added function to query parent class type in IfcExpressParser.py
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "IfcRegisterUndef.h"
|
||||
#define SHAPE(T) \
|
||||
if ( l->is(T::Class()) ) { \
|
||||
try { \
|
||||
bool b = convert(reinterpret_pointer_cast<IfcBaseClass,T>(l),r); \
|
||||
if ( b ) { \
|
||||
Cache::Shape[l->entity->id()] = r; \
|
||||
return true; \
|
||||
} else { return false; }\
|
||||
} catch(...) { Ifc::LogMessage("Error","Failed to convert:",l->entity); } \
|
||||
}
|
||||
#include "IfcRegisterDef.h"
|
||||
|
||||
#include "IfcRegister.h"
|
||||
Reference in New Issue
Block a user