Notifications
Clear all

[Closed] Master Point Controller Keys with Unwrap UVW modifier

I need to export models from 3ds max, and one of my steps is to get the number of keys like so:

$mainObj.mesh[1].keys.count

This works fine except when there is an Unwrap UVW modifier on the node then the master point controller of the trimesh becomes undefined. Upon deleting the modifier, it goes back to whatever it was before, say for example 14 keys.

Is there any way around this?

2 Replies

try

$mainObj.baseobject.mesh[1].keys.count

Thanks, that worked great! I searched, and searched, but I could not figure this one out.