mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
remove open_web_ui button and operator from csv module
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user