Hello
When I turn on the Listener, it prints
max scaleno matter which of the three scaling modes I pick; Scale Uniform / Non-Unifrom and Squash.
How can I pick either of them through maxscript?
Forum topic · General Scripting
By Haider of Sweden · 2016-02-08
Hello
When I turn on the Listener, it prints
max scaleno matter which of the three scaling modes I pick; Scale Uniform / Non-Unifrom and Squash.
How can I pick either of them through maxscript?
.
miauu · 2016-02-08
toolMode.uniformScale()
toolMode.nonUniformScale()
toolMode.squashScale()
.
Haider of Sweden · 2016-02-08
Wonderful! This is how I did
macroScript Select_Uniform
category:"Haider"
buttonText:"Select and Uniform Scale"
toolTip:"Select and Uniform Scale"
icon:#("Maintoolbar",25)
(
toolMode.uniformScale()
)
macroScript Select_NonUniform
category:"Haider"
buttonText:"Select and Non-Uniform Scale"
toolTip:"Select and Non-Uniform Scale"
icon:#("Maintoolbar",27)
(
toolMode.nonUniformScale()
)
macroScript Select_Squash
category:"Haider"
buttonText:"Select and Squash"
toolTip:"Select and Squash"
icon:#("Maintoolbar",29)
(
toolMode.squashScale()
)
I wonder if I can do so that the buttons get stay pressed, ie
on isChecked, when I pick each mode. Is that possible?