mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Add_spatial_element node updated
This commit is contained in:
@@ -79,6 +79,10 @@ class SvIfcCreateShape(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.helper.
|
||||
|
||||
if self.refresh_local or hash(self) not in self.node_dict:
|
||||
self.file = SvIfcStore.get_file()
|
||||
try:
|
||||
self.entities = [self.file.by_id(step_id) for step_id in self.entities]
|
||||
except Exception as e:
|
||||
raise
|
||||
blender_objects = self.create()
|
||||
self.node_dict[hash(self)] = blender_objects
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user