PDA

View Full Version : Bevel settings


z3djinn
11-13-2005, 05:59 PM
I want to access the bevel settings window when I use the shortcut key instead of the tool itself. Is there a script that I can bind to a key or what is the description in the customize pop-up that I can find. Thank You.

Bobo
11-13-2005, 06:26 PM
I want to access the bevel settings window when I use the shortcut key instead of the tool itself. Is there a script that I can bind to a key or what is the description in the customize pop-up that I can find. Thank You.

$.PopupDialog #Bevel

will open the Bevel dialog if the current selection is an EPoly baseobject.
You can put it in a macroScript and bind to a key, and add some tests to make sure the current selection is valid.


macroScript BevelPopUp category:"EPoly"
(
on isEnabled return
selection.count == 1 and classof selection[1] == EditablePoly
on execute do $.PopupDialog #Bevel
)

The EditPoly modifier features the same command, you could expand the script to check for the current object in the Modifier Panel and if it is EditPoly modifier, call it there...


macroScript BevelPopUp category:"EPoly"
(
on isEnabled return
(
theObj = modPanel.getCurrentObject()
(classof theObj == Edit_Poly or classof theObj == Editable_Poly) and SubObjectLevel == 4
)
on execute do
(modPanel.getCurrentObject()).PopupDialog #Bevel
)

z3djinn
11-14-2005, 12:03 AM
Thank you once again!

CGTalk Moderation
11-14-2005, 12:03 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.