About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
Yeah, I wanted to know the
Yeah, I wanted to know the same thing! With some help I got it figured out though so thought I'd share.
First you have to find out the definition of the custom attribute, so you need to run the .getDefs property:
For me, this got in to the selected object's Attribute Holder modifier.
Which returned this array:
So my definition is LeftEye. Now you use .getDef with .getDefSource and it should return the source.
And ka-BAM! It barfs out the source code.
There's probably a more eloquent way to do this but I'm a noob so the fact that I got it to do anything at all made me dance a little.
Hope that helps somebody.