Notifications
Clear all
[Closed] Using button pressed as a function?
Dec 12, 2005 11:16 pm
Is it possible to call a button from within maxscript that ive already coded, hence using it in the same way to perform an operation without needing to double the code?
If that makes sence…
Somehting like this
Button1 pressed do
(
some operations
button2 pressed
some more operations
)
Button2 pressed do
(
operations
)
4 Replies
Dec 12, 2005 11:16 pm
cool, so it should be easy to make an array that stores a repedative bunch of custom button presses to make mini macros accessable to the user?
Dec 12, 2005 11:16 pm
To be able to use the same type of calls outside the scope of the dialog, you need to declare the dialog’s name as global and use something like this:
dialogName.buttonName.pressed()
Light