I have mapped the ortho views (the red, green arrows,and blue dot) to hotkeys using app-link. My question is there a way to toggle say the front and back view with the same key just by hitting it twice?
I’m guessing you can do it with a ZScript bound to a key. Here’s a couple of old scripts for Toggling Topological and Cycling through PolyFrame Modes. I suppose you could adapt one of those those for you needs, either a toggle for each ortho view, or a cycle through them all. Frankly I don’t use these any more nor have I scripted since version 2019 so I’m not going to be much help beyond what’s here. My guess that scripting guru @marcus_civis would be better able to guide you. Good Luck
//ZBrush macro - save to ZBrush 2019.1\ZStartup\Macros\Misc\ folder
[IButton,???,“Toggle Topological mode”,
[IShowActions,0]
[IConfig,2019]
[IToggle,Brush:Auto Masking:Topological]
,0.5]//half palette width button
//ZBrush macro - save to ZBrush 2019.1\ZStartup\Macros\Misc\ folder
[IButton,???,“Cycle Polyframe modes”,
[IShowActions,0]
[IConfig,2019]
[IPress,Transform: Pf]
[Loop,1,
[If,([IModGet,Transform: Pf]==0),//nothing
[IModSet,Transform: Pf,3]
[LoopExit]
]
[If,([IModGet,Transform: Pf]==3),//Line & Fill
[IModSet,Transform: Pf,2]
[LoopExit]
]
[If,([IModGet,Transform: Pf]==2),//just Fill
[IModSet,Transform: Pf,1]
[LoopExit]
]
[If,([IModGet,Transform: Pf]==1),//just Line
[IModSet,Transform: Pf,0]
[LoopExit]
]
]
,0.5]//half palette width button
Thanks but I’m not that familiar with zbrush just yet. Plus I realized that my space mouse will give me 3 ortho views with a mapped button. Is there not a macro recorder in zbrush? In Modo there is a history window that allows you see the code that fires a command and you can easily assign a hotkey. Plus you can alter the code at that point a ? at the end will toggle the command if applicable.