Hide Header for Costing and Schedule Tab

This commit is contained in:
Sigma Dimensions (Yass)
2023-08-10 16:36:35 +01:00
parent 7a0da7bd8e
commit dc36d74337
5 changed files with 2 additions and 4 deletions
@@ -26,7 +26,6 @@ from blenderbim.bim.module.cost.data import CostSchedulesData
class BIM_PT_cost_schedules(Panel): class BIM_PT_cost_schedules(Panel):
bl_label = "Cost Schedules" bl_label = "Cost Schedules"
bl_idname = "BIM_PT_cost_schedules" bl_idname = "BIM_PT_cost_schedules"
bl_options = {"DEFAULT_CLOSED"}
bl_space_type = "PROPERTIES" bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW" bl_region_type = "WINDOW"
bl_context = "scene" bl_context = "scene"
@@ -25,7 +25,6 @@ from blenderbim.bim.module.resource.data import ResourceData
class BIM_PT_resources(Panel): class BIM_PT_resources(Panel):
bl_label = "Resources" bl_label = "Resources"
bl_idname = "BIM_PT_resources" bl_idname = "BIM_PT_resources"
bl_options = {"DEFAULT_CLOSED"}
bl_space_type = "PROPERTIES" bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW" bl_region_type = "WINDOW"
bl_context = "scene" bl_context = "scene"
@@ -99,7 +99,6 @@ class BIM_PT_work_plans(Panel):
class BIM_PT_work_schedules(Panel): class BIM_PT_work_schedules(Panel):
bl_label = "Work Schedules" bl_label = "Work Schedules"
bl_idname = "BIM_PT_work_schedules" bl_idname = "BIM_PT_work_schedules"
bl_options = {"DEFAULT_CLOSED"}
bl_space_type = "PROPERTIES" bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW" bl_region_type = "WINDOW"
bl_context = "scene" bl_context = "scene"
+1 -1
View File
@@ -305,7 +305,7 @@ def get_tab(self, context):
("DRAWINGS", "Drawings and Documents", "", "DOCUMENTS", 3), ("DRAWINGS", "Drawings and Documents", "", "DOCUMENTS", 3),
("SERVICES", "Services and Systems", "", "NETWORK_DRIVE", 4), ("SERVICES", "Services and Systems", "", "NETWORK_DRIVE", 4),
("STRUCTURE", "Structural Analysis", "", "EDITMODE_HLT", 5), ("STRUCTURE", "Structural Analysis", "", "EDITMODE_HLT", 5),
("SCHEDULING", "Construction Scheduling", "", "NLA", 6), ("SCHEDULING", "Costing and Scheduling", "", "NLA", 6),
("FM", "Facility Management", "", "PACKAGE", 7), ("FM", "Facility Management", "", "PACKAGE", 7),
("QUALITY", "Quality and Coordination", "", "COMMUNITY", 8), ("QUALITY", "Quality and Coordination", "", "COMMUNITY", 8),
("BLENDER", "Blender Properties", "", "BLENDER", 9), ("BLENDER", "Blender Properties", "", "BLENDER", 9),
+1
View File
@@ -409,6 +409,7 @@ class BIM_PT_tab_4D5D(Panel):
bl_space_type = "PROPERTIES" bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW" bl_region_type = "WINDOW"
bl_context = "scene" bl_context = "scene"
bl_options = {"HIDE_HEADER"}
@classmethod @classmethod
def poll(cls, context): def poll(cls, context):