remove open_web_ui button and operator from csv module

This commit is contained in:
Ziad-I
2024-06-11 13:09:55 +03:00
committed by Dion Moult
parent 3c2fcffd0d
commit 76e6697bbc
4 changed files with 1 additions and 16 deletions
@@ -29,7 +29,6 @@ classes = (
operator.RemoveCsvAttribute,
operator.ReorderCsvAttribute,
operator.SelectCsvIfcFile,
operator.OpenWebUi,
prop.CsvAttribute,
prop.CsvProperties,
ui.BIM_PT_ifccsv,
@@ -307,12 +307,3 @@ class SelectCsvIfcFile(bpy.types.Operator):
def invoke(self, context, event):
context.window_manager.fileselect_add(self)
return {"RUNNING_MODAL"}
class OpenWebUi(bpy.types.Operator):
bl_idname = "bim.open_web_ui"
bl_label = "Open Web UI"
def execute(self, context):
core.open_web_ui(tool.Search)
return {"FINISHED"}
@@ -123,8 +123,3 @@ class BIM_PT_ifccsv(Panel):
row = layout.row(align=True)
row.operator("bim.export_ifccsv", icon="EXPORT", text="Export IFC to " + props.format.upper())
row.operator("bim.import_ifccsv", icon="IMPORT")
def draw_header(self, context):
row = self.layout.row(align=True)
row.label(text="")
row.operator("bim.open_web_ui", text="", icon="URL")
@@ -31,4 +31,4 @@ from bpy.props import (
class WebProperties(PropertyGroup):
Webserver_port: StringProperty(name="Port")
Webserver_port: StringProperty(name="Webserver Port")