Notifications
Clear all
[Closed] Tiny Maxscript question
Jul 20, 2006 8:21 am
Hi!
How can I rewrite this code, so that instead of an object name, 3dsmax applies the script on the selected mesh:
$truck.material = undefined
5 Replies
1 Reply
Jul 20, 2006 8:21 am
Hey Haider,
$ is shorthand for selection, so if you had 5 objects selected, the above code would wipe all of them.
Likewise, you can mass-change other properties, such as $.height = 20
Which is really useful!
Jul 20, 2006 8:21 am
Thank you both.
I am more used to MEL, the Maya script language. I was expecting to write a bit more than just $.