mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Map empty aggregate to empty tuple in python
This commit is contained in:
@@ -98,6 +98,9 @@
|
|||||||
IfcEntityListList::ptr v = arg;
|
IfcEntityListList::ptr v = arg;
|
||||||
$result = pythonize(v);
|
$result = pythonize(v);
|
||||||
break; }
|
break; }
|
||||||
|
case IfcUtil::Argument_EMPTY_AGGREGATE: {
|
||||||
|
$result = PyTuple_New(0);
|
||||||
|
break; }
|
||||||
case IfcUtil::Argument_UNKNOWN:
|
case IfcUtil::Argument_UNKNOWN:
|
||||||
default:
|
default:
|
||||||
SWIG_exception(SWIG_RuntimeError,"Unknown attribute type");
|
SWIG_exception(SWIG_RuntimeError,"Unknown attribute type");
|
||||||
|
|||||||
Reference in New Issue
Block a user