mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-15 18:14:08 +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.RemoveCsvAttribute,
|
||||||
operator.ReorderCsvAttribute,
|
operator.ReorderCsvAttribute,
|
||||||
operator.SelectCsvIfcFile,
|
operator.SelectCsvIfcFile,
|
||||||
operator.OpenWebUi,
|
|
||||||
prop.CsvAttribute,
|
prop.CsvAttribute,
|
||||||
prop.CsvProperties,
|
prop.CsvProperties,
|
||||||
ui.BIM_PT_ifccsv,
|
ui.BIM_PT_ifccsv,
|
||||||
|
|||||||
@@ -307,12 +307,3 @@ class SelectCsvIfcFile(bpy.types.Operator):
|
|||||||
def invoke(self, context, event):
|
def invoke(self, context, event):
|
||||||
context.window_manager.fileselect_add(self)
|
context.window_manager.fileselect_add(self)
|
||||||
return {"RUNNING_MODAL"}
|
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 = layout.row(align=True)
|
||||||
row.operator("bim.export_ifccsv", icon="EXPORT", text="Export IFC to " + props.format.upper())
|
row.operator("bim.export_ifccsv", icon="EXPORT", text="Export IFC to " + props.format.upper())
|
||||||
row.operator("bim.import_ifccsv", icon="IMPORT")
|
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):
|
class WebProperties(PropertyGroup):
|
||||||
Webserver_port: StringProperty(name="Port")
|
Webserver_port: StringProperty(name="Webserver Port")
|
||||||
|
|||||||
Reference in New Issue
Block a user