mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
Minor fix
This commit is contained in:
@@ -30,9 +30,7 @@ class SvIfcCreateFile(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.helper.S
|
|||||||
self.outputs.new("SvVerticesSocket", "file")
|
self.outputs.new("SvVerticesSocket", "file")
|
||||||
|
|
||||||
def draw_buttons(self, context, layout):
|
def draw_buttons(self, context, layout):
|
||||||
op = layout.operator("node.sv_ifc_create_file_refresh", icon="FILE_REFRESH", text="Refresh")
|
self.wrapper_tracked_ui_draw_op(layout, "node.sv_ifc_create_file_refresh", icon="FILE_REFRESH", text="Refresh")
|
||||||
op.tree_name = self.id_data.name
|
|
||||||
op.node_name = self.name
|
|
||||||
|
|
||||||
def process(self):
|
def process(self):
|
||||||
self.sv_input_names = ["schema"]
|
self.sv_input_names = ["schema"]
|
||||||
|
|||||||
@@ -33,9 +33,7 @@ class SvIfcCreateShape(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.helper.
|
|||||||
self.inputs.new("SvStringsSocket", "entity").prop_name = "entity"
|
self.inputs.new("SvStringsSocket", "entity").prop_name = "entity"
|
||||||
|
|
||||||
def draw_buttons(self, context, layout):
|
def draw_buttons(self, context, layout):
|
||||||
op = layout.operator("node.sv_ifc_create_shape_refresh", icon="FILE_REFRESH", text="Refresh")
|
self.wrapper_tracked_ui_draw_op(layout, "node.sv_ifc_create_shape_refresh", icon="FILE_REFRESH", text="Refresh")
|
||||||
op.tree_name = self.id_data.name
|
|
||||||
op.node_name = self.name
|
|
||||||
|
|
||||||
def process(self):
|
def process(self):
|
||||||
self.sv_input_names = ["file", "entity"]
|
self.sv_input_names = ["file", "entity"]
|
||||||
|
|||||||
@@ -32,9 +32,9 @@ class SvIfcSelectBlenderObjects(bpy.types.Node, SverchCustomTreeNode, ifcsvercho
|
|||||||
self.inputs.new("SvStringsSocket", "entities").prop_name = "entities"
|
self.inputs.new("SvStringsSocket", "entities").prop_name = "entities"
|
||||||
|
|
||||||
def draw_buttons(self, context, layout):
|
def draw_buttons(self, context, layout):
|
||||||
op = layout.operator("node.sv_ifc_select_blender_objects_refresh", icon="FILE_REFRESH", text="Refresh")
|
self.wrapper_tracked_ui_draw_op(
|
||||||
op.tree_name = self.id_data.name
|
layout, "node.sv_ifc_select_blender_objects_refresh", icon="FILE_REFRESH", text="Refresh"
|
||||||
op.node_name = self.name
|
)
|
||||||
|
|
||||||
def process(self):
|
def process(self):
|
||||||
self.file = IfcStore.get_file()
|
self.file = IfcStore.get_file()
|
||||||
|
|||||||
Reference in New Issue
Block a user