@@@@
any ideas how i can create a simple script to toggle shaded to wireframe all views,
@@@@
You can easily create a script that triggers almost every function in XSI. Open the script editor. Do the function normally. You'll see in the top window of the script editor that the function is recorded. Just highlight this new line, copy it, and paste in the bottom window. Click on Run when you want to run this.
You can save your script by clicking on Save.
@@@@
well just to toggle any setting on off eg might be useful for creating a button to show camera safe on/off
@@@@
So in this case activate normally the safe guides (Camera Viewport > Camera Icon > Display Options > Visual Cues > Show > Field Guide). In the script editor, you should have something like this:
SetValue "Camera.camvis.gridfieldguidevis", True
Create a new toolbar, select this line in the script editor, and d&d it on the toolbar. This will create your button for toggle on. Now create a button for toggle off. You can simply take the same script and replace True by False. Create another button with that.
I recommend you this tutorial:
http://www.edharriss.com/tutorials/tutoria...ts\_toolbars.htm
@@@@
Also a way I can setup a shortcut key to cycle translation modes loc-global-view but I can't find a function for it ?
@@@@
Sorry I don't know.
Hope this helps
Salutations - Cheers
Bernard Lebel