Hello! I’m new to scripting, so would appreciate some help!
I’m trying to create a script that have button that affect Poth editable poly and Edit Poly modifier
but it affect only on editable poly .
Blockquote
try(cui.unRegisterDialogBar MasterBrushs)catch()
try(DestroyDialog MasterBrushs) catch()
rollout MasterBrushs “Master Brushs” width:150 height:283
(
button ‘btn1’ “X” pos:[15,27] width:30 height:30 align:#left
on btn1 pressed do
(
$.paintDeformAxis =3
$.paintDeformValue = 2
$.paintDeformStrength = 0.2
)
)
createdialog MasterBrushs
cui.registerDialogBar MasterBrushs
Blockquote
and thanks for help
