Makrodefinicja: Zarządzaj stylem nawigacji
|This pair of macros allow you to alter the Navigation Style while using the Sketcher.|
Macro version: 1.0
Last modified: 2015-01-17
FreeCAD version: All
Download: ToolBar icon
How to install macros
How to customize toolbars
|Date last modified|
When using the Sketcher the right-button menu is redefined to hold options relevant to the Sketcher. Consequently the option to change the Navigational Style, which is available when outside the Sketcher, is not available when in the Sketcher.
There are two brief code snippets, each of which is a separate Macro. Installation is comprised of copying the two pieces code to the appropriate Macro directory and invoking them from the Macro menu. It is much preferable to add them both to a toolbar so as to be easily available while using the Sketcher.
- see How to install macros for information on how to install this macro code
- see Customize Toolbars for information how to install as a button on a toolbar
Click on the associated toolbar button, or invoke from the Macro menu. There is no visible confirmation of their executing, aside from the Navigational Style will change.
There really isn't any user interface, not even any confirmation that the Navigational Style has been changed. The confirmation will be when you next manipulate the view, your mouse movements will interpreted in the Navigational Style you selected.
There are two scripts, one to change to each of 'Cad' and 'Inventor' Navigational Styles. There are also 2 icons, one for each Macro:
- icon and macro code to change the Navigational Style to 'CAD'
# change to CAD Navigational Style p=App.ParamGet("User parameter:BaseApp/Preferences/View") p.SetString("NavigationStyle","Gui::CADNavigationStyle")