Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / 3ds Max through 2008 / shortcut for "show cage"?
  RSS 2.0 ATOM  

shortcut for "show cage"?
Rate this thread
 
13898
 
Permlink of this thread  
avatar
  • Location: London
  • Total Posts: 54
  • Joined: 08 July 2007 05:18 AM

hi all,

is it possible to create a shortcut for the ‘show cage’ toggle under the ‘subdivision surface’ rollout of editable poly? (max 2008)



Replies: 0
avatar

Have you checked in the “Customize UI” tab yet? It lists all the available shortcuts.



"If I see that damn teapot one more time....”

3ds Max 6.5 - Max 2012
Windows 7 Intel Core 2 Quad Q9400 2.13 GHZ
64-Bit, 8 GB RAM

Video Card: Galaxy GeForce 210 (Nvidia)

My Website: http://drmoore3d.com

Replies: 0
avatar
  • Zarillo
  • Posted: 30 June 2008 07:15 AM

I don’t find the “Show cage” command in the Customize User interface…
but as an alternative you can write your own macroscript and link that one to a hotkey in the Customize user interface menu.

example:

macroscript showcage category:"HowTo"
(
if $.showcage==off then
$.showcage = on
else
$.showcage = off
)

When you apply a hotkey to the command..look under the MAIN UI and category “HowTo”

/zarre



3dsMax 2008
Final Render
Windows Xp (32bit)
2 x 3,4GHz, 3GB RAM, Quadro NVS 285

Replies: 0
avatar

Zarillo, thanks for the reply.  i couldn’t find it in the ‘customisation’ area either and my next question was going to be whether someone could help me with a simple script so your reply is perfect!

thanks again



Replies: 0
avatar

just one more thing…

i added the macro to the quad menu in the ‘Context Edit Poly Tools’ but the command shows even when i’m not in edit poly mode.

is there a way to make the macro context-sensitive?

TIA



Replies: 0
avatar
  • Zarillo
  • Posted: 01 July 2008 02:38 AM

Hello.

I did some modifications..and I guess it should work like you want it to now.

macroscript EPoly_showcage
enabledIn:#("max", “viz")
ButtonText:"Show Cage”
category:"Editable Polygon Object”
internalCategory:"Editable Polygon Object”
Tooltip:"Show Cage (Poly)”
(
On IsEnabled Return Filters.Is_EPoly()
On IsVisible Return Filters.Is_EPoly()

On Execute Do
(
Try (
if $.showcage==off then
$.showcage = on
else
$.showcage = off
)
Catch(MessageBox “Operation Failed” Title:"Poly Editing")
)
)

/Zarillo



3dsMax 2008
Final Render
Windows Xp (32bit)
2 x 3,4GHz, 3GB RAM, Quadro NVS 285

Replies: 0
avatar

Zarillo, sorry for the late reply.  thanks for your help with this.  i haven’t had time to try it out but i will do this weekend once work slows down and i have some time to myself!



Replies: 0