mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Finalizing Gsoc#45 ids checking (#1694)
This commit is contained in:
@@ -502,8 +502,10 @@ class entity(facet):
|
||||
:rtype: dict
|
||||
"""
|
||||
fac_dict = {"name": parameter_asdict(self.name)}
|
||||
if "predefinedtype" in self:
|
||||
try:
|
||||
fac_dict["predefinedtype"] = parameter_asdict(self.predefinedtype)
|
||||
except (RecursionError, UnboundLocalError) as e:
|
||||
print(e)
|
||||
return fac_dict
|
||||
|
||||
def __call__(self, inst, logger):
|
||||
|
||||
Reference in New Issue
Block a user