Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.39 KB

Macro_Manage_Navigational_Style2.md

File metadata and controls

51 lines (33 loc) · 2.39 KB

Macro Manage Navigational Style2

{{Macro |Name=Macro Manage Navigational Styles2 |Icon=Macro_Manage_Navigational_Styles2.png |Description=This macro allow you to alter the Navigation Style Inventor while using the Sketcher.
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. |Author=PiffPoof |Version=1.0 |Date=2015-01-17 |FCVersion=All |Download=[https://www.freecadweb.org/wiki/images/1/1c/Macro_Manage_Navigational_Styles2.png ToolBar icon] |SeeAlso=Macro_Manage_Navigational_Style1 }}

Description

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.

Installation

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.

Usage

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.

User Interface

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.

Scripts

  • icon and macro code to change the Navigational Style to 'Inventor'

Macro_Manage_Navigational_Styles2_Inventor.FCMacro

{{MacroCode|code=

change to Inventor Navigational Style

p=App.ParamGet("User parameter:BaseApp/Preferences/View") p.SetString("NavigationStyle","Gui::InventorNavigationStyle") }}


documentation index > Macro Manage Navigational Style2