logical handling in python and small fixes

This commit is contained in:
Thomas Krijnen
2021-07-29 16:32:45 +02:00
parent 7c3fcc26f4
commit 0d49c89943
8 changed files with 48 additions and 0 deletions
+5
View File
@@ -1212,6 +1212,11 @@ void IfcEntityInstanceData::setArgument(size_t i, Argument* a, IfcUtil::Argument
case IfcUtil::Argument_BOOL:
copy->set(static_cast<bool>(*a));
break;
case IfcUtil::Argument_LOGICAL: {
boost::logic::tribool tb = *a;
copy->set(tb);
break;
}
case IfcUtil::Argument_DOUBLE:
copy->set(static_cast<double>(*a));
break;