Add_spatial_element node updated

This commit is contained in:
martinaCodes
2022-10-24 14:06:23 +02:00
parent d460a890a7
commit a592736b22
2 changed files with 14 additions and 5 deletions
@@ -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: