mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Element get_psets utility now returns the pset ID for convenience.
This commit is contained in:
@@ -28,6 +28,7 @@ def get_property_definition(definition):
|
||||
for prop in range(4, len(definition)):
|
||||
if definition[prop] is not None:
|
||||
props[definition.attribute_name(prop)] = definition[prop]
|
||||
props["id"] = definition.id()
|
||||
return props
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user