Hi,
I'm trying to make my first script. The script is very simple, some buttons to do repetitive operations, no complicated things.
I have some problem with addModifier and deleteModifier methods.
This is my code's piece:
on btn5_Delete pressed do
(
deleteModifier btn_pickObj.object ProOptimizer
messagebox "Modifier Deleted" title: "High Poly"
)
when I press my button I receive this error:
Unable to convert:ProOptimizer to type:Modifier
I have read the maxscript help guide where deletemodifier and addmodifier method are explained:
deleteModifier -- mapped
I tried to use index instead of modifier and it works!! but I want specify only my ProOptimizer modifier.
Where is the error? I'm going crazy.
I'm a maxscript's newbie so thank for patience:-)
By Raffx · 2014-07-09
barigazy · 2014-07-10
miauu · 2014-07-11