From dc36d74337e85b79b2330ceb9cdb9590cc951fbc Mon Sep 17 00:00:00 2001 From: "Sigma Dimensions (Yass)" <79010126+myoualid@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:36:35 +0100 Subject: [PATCH] Hide Header for Costing and Schedule Tab --- src/blenderbim/blenderbim/bim/module/cost/ui.py | 1 - src/blenderbim/blenderbim/bim/module/resource/ui.py | 1 - src/blenderbim/blenderbim/bim/module/sequence/ui.py | 1 - src/blenderbim/blenderbim/bim/prop.py | 2 +- src/blenderbim/blenderbim/bim/ui.py | 1 + 5 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/blenderbim/blenderbim/bim/module/cost/ui.py b/src/blenderbim/blenderbim/bim/module/cost/ui.py index c083331c76..d48621d940 100644 --- a/src/blenderbim/blenderbim/bim/module/cost/ui.py +++ b/src/blenderbim/blenderbim/bim/module/cost/ui.py @@ -26,7 +26,6 @@ from blenderbim.bim.module.cost.data import CostSchedulesData class BIM_PT_cost_schedules(Panel): bl_label = "Cost Schedules" bl_idname = "BIM_PT_cost_schedules" - bl_options = {"DEFAULT_CLOSED"} bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" diff --git a/src/blenderbim/blenderbim/bim/module/resource/ui.py b/src/blenderbim/blenderbim/bim/module/resource/ui.py index 4ce36e12bf..090aa0f8c4 100644 --- a/src/blenderbim/blenderbim/bim/module/resource/ui.py +++ b/src/blenderbim/blenderbim/bim/module/resource/ui.py @@ -25,7 +25,6 @@ from blenderbim.bim.module.resource.data import ResourceData class BIM_PT_resources(Panel): bl_label = "Resources" bl_idname = "BIM_PT_resources" - bl_options = {"DEFAULT_CLOSED"} bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" diff --git a/src/blenderbim/blenderbim/bim/module/sequence/ui.py b/src/blenderbim/blenderbim/bim/module/sequence/ui.py index eb0ccc477d..82ee1e93ca 100644 --- a/src/blenderbim/blenderbim/bim/module/sequence/ui.py +++ b/src/blenderbim/blenderbim/bim/module/sequence/ui.py @@ -99,7 +99,6 @@ class BIM_PT_work_plans(Panel): class BIM_PT_work_schedules(Panel): bl_label = "Work Schedules" bl_idname = "BIM_PT_work_schedules" - bl_options = {"DEFAULT_CLOSED"} bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" diff --git a/src/blenderbim/blenderbim/bim/prop.py b/src/blenderbim/blenderbim/bim/prop.py index 7dc0262881..34b587d58d 100644 --- a/src/blenderbim/blenderbim/bim/prop.py +++ b/src/blenderbim/blenderbim/bim/prop.py @@ -305,7 +305,7 @@ def get_tab(self, context): ("DRAWINGS", "Drawings and Documents", "", "DOCUMENTS", 3), ("SERVICES", "Services and Systems", "", "NETWORK_DRIVE", 4), ("STRUCTURE", "Structural Analysis", "", "EDITMODE_HLT", 5), - ("SCHEDULING", "Construction Scheduling", "", "NLA", 6), + ("SCHEDULING", "Costing and Scheduling", "", "NLA", 6), ("FM", "Facility Management", "", "PACKAGE", 7), ("QUALITY", "Quality and Coordination", "", "COMMUNITY", 8), ("BLENDER", "Blender Properties", "", "BLENDER", 9), diff --git a/src/blenderbim/blenderbim/bim/ui.py b/src/blenderbim/blenderbim/bim/ui.py index 81debd7574..b57deaa8b5 100644 --- a/src/blenderbim/blenderbim/bim/ui.py +++ b/src/blenderbim/blenderbim/bim/ui.py @@ -409,6 +409,7 @@ class BIM_PT_tab_4D5D(Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" + bl_options = {"HIDE_HEADER"} @classmethod def poll(cls, context):