mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-06 12:26:26 +00:00
Manually merged in aothms revisions for gradient curves and implicit_item taxonomy
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#define BIND(T) \
|
||||
if (inst->as<IfcSchema::T>()) { \
|
||||
try { \
|
||||
taxonomy::ptr item = map_impl(inst->as<IfcSchema::T>()); \
|
||||
item = map_impl(inst->as<IfcSchema::T>()); \
|
||||
if (item != nullptr) { \
|
||||
item->instance = inst; \
|
||||
try { \
|
||||
@@ -24,11 +24,9 @@
|
||||
} else {\
|
||||
Logger::Message(Logger::LOG_ERROR,"Failed to convert:", inst);\
|
||||
} \
|
||||
return item; \
|
||||
} catch (const std::exception& e) { \
|
||||
Logger::Message(Logger::LOG_ERROR, std::string(e.what()) + "\nFailed to convert:", inst); \
|
||||
} \
|
||||
return nullptr; \
|
||||
}
|
||||
|
||||
#include "mapping.i"
|
||||
|
||||
Reference in New Issue
Block a user