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:
@@ -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 = [
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"),
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user