mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
Minor fix
This commit is contained in:
@@ -1073,6 +1073,8 @@ class ProductDecorator:
|
|||||||
relating_type_id = props.relating_type_id
|
relating_type_id = props.relating_type_id
|
||||||
if relating_type_id:
|
if relating_type_id:
|
||||||
self.relating_type = tool.Ifc.get().by_id(int(relating_type_id))
|
self.relating_type = tool.Ifc.get().by_id(int(relating_type_id))
|
||||||
|
else:
|
||||||
|
return
|
||||||
|
|
||||||
# Wall
|
# Wall
|
||||||
if self.relating_type.is_a("IfcWallType"):
|
if self.relating_type.is_a("IfcWallType"):
|
||||||
|
|||||||
Reference in New Issue
Block a user