Minor fix.

This commit is contained in:
Dion Moult
2021-07-05 16:35:13 +10:00
parent 97cd919a7b
commit d6a9b73657
4 changed files with 0 additions and 48 deletions
@@ -10,7 +10,6 @@ if bpy is not None:
modules = {
"project": None,
"parametric": None,
"search": None,
"bcf": None,
"root": None,
@@ -1,15 +0,0 @@
import bpy
from . import ui, operator
classes = (
operator.ActivateParametricEngine,
ui.BIM_PT_parametric,
)
def register():
pass
def unregister():
pass
@@ -1,10 +0,0 @@
import bpy
from blenderbim.bim.ifc import IfcStore
class ActivateParametricEngine(bpy.types.Operator):
bl_idname = "bim.activate_parametric_engine"
bl_label = "Activate Parametric Engine"
def execute(self, context):
return {"FINISHED"}
@@ -1,22 +0,0 @@
from bpy.types import Panel
from blenderbim.bim.ifc import IfcStore
from ifcopenshell.api.type.data import Data
class BIM_PT_parametric(Panel):
bl_label = "IFC Parametric Engines"
bl_idname = "BIM_PT_parametric"
bl_options = {"DEFAULT_CLOSED"}
bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW"
bl_context = "scene"
@classmethod
def poll(cls, context):
return IfcStore.get_file()
def draw(self, context):
#props = context.active_object.BIMTypeProperties
row = self.layout.row(align=True)
#row.prop(props, "relating_type_class", text="")
row.operator("bim.activate_parametric_engine", icon="PLUGIN")