Element get_psets utility now returns the pset ID for convenience.

This commit is contained in:
Dion Moult
2021-10-25 14:21:32 +11:00
parent 2e6a70b338
commit 6337698494
2 changed files with 6 additions and 5 deletions
@@ -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