Notifications
Clear all

[Closed] Unknown Property:"unwrap" in undefined

Hi!

I’d like to change “Map Channel” of the unwrap modifier via maxscript, from a vaule of 3, to a vaule of 1 (move)

if I launch this code:

$.modifiers[#unwrap_uvw].unwrap.setMapChannel 0

or

$.unwrap_uvw.unwrap.setMapChannel 0

But I receive the error message of the title.

How to solve?
Thanks a lot.

1 Reply

You probably want this…

$.modifiers[#unwrap_uvw].setMapChannel 0

Not got max to hand to test though.