BIM: remove BIM Project command from toolbar (#25086)

- The BIM_Project command is removed from the toolbar and relocated to
  the Utils menu
- The default when creating a new project has been changed to
  non-IFC-native
- The BIM_Project and IFC_MakeProject command menu text have been
  reworded to remove ambiguity
This commit is contained in:
Furgo
2025-11-05 09:56:46 +01:00
committed by GitHub
parent af014a1bb4
commit 2d2684cc3d
4 changed files with 6 additions and 6 deletions

View File

@@ -112,7 +112,6 @@ class BIMWorkbench(Workbench):
]
self.bimtools = [
"BIM_Project",
"Arch_Site",
"Arch_Building",
"Arch_Level",
@@ -233,6 +232,7 @@ class BIMWorkbench(Workbench):
"BIM_Reextrude",
"Arch_PanelTools",
"Arch_StructureTools",
"BIM_Project",
]
nudge = [

View File

@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>443</width>
<width>600</width>
<height>840</height>
</rect>
</property>
@@ -117,7 +117,7 @@
<string>Create a new document without IFC support</string>
</property>
<property name="checked">
<bool>false</bool>
<bool>true</bool>
</property>
</widget>
</item>
@@ -130,7 +130,7 @@
<string>Create a native IFC project in the current document</string>
</property>
<property name="checked">
<bool>true</bool>
<bool>false</bool>
</property>
</widget>
</item>

View File

@@ -35,7 +35,7 @@ class BIM_Project:
def GetResources(self):
return {
"Pixmap": "BIM_Project",
"MenuText": QT_TRANSLATE_NOOP("BIM_Project", "Project"),
"MenuText": QT_TRANSLATE_NOOP("BIM_Project", "IFC Project"),
"ToolTip": QT_TRANSLATE_NOOP("BIM_Project", "Creates an empty NativeIFC project"),
}

View File

@@ -140,7 +140,7 @@ class IFC_MakeProject:
)
return {
"Pixmap": "IFC",
"MenuText": QT_TRANSLATE_NOOP("IFC_MakeProject", "Create IFC Project"),
"MenuText": QT_TRANSLATE_NOOP("IFC_MakeProject", "Convert to IFC Project"),
"ToolTip": tt,
"Accel": "I, P",
}