Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Dear All,
I'm pretty rookie about Max scripting (trying to learn) so simple I wish to script that: if object/s not selected > show message box or if something currently selected give that amounts for uvw!
I tried as you can see here:
But I'm getting that error:
How can I solve this?
Best Regards
Here code itself:
macroScript Macro5
category:"DragAndDrop"
toolTip:""
if selection.count == 0 then messagebox "please select an object first!" title:""
else
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Map].utile = 20
$.modifiers[#UVW_Map].vtile = 20
$.modifiers[#UVW_Map].wtile = 20
Solved! Go to Solution.