Notifications
Clear all

[Closed] Bevel settings

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.

2 Replies
1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0
$.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
)

Thank you once again!