Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / SDK / setAttr ignores MFnAttribute::setWritable
  RSS 2.0 ATOM  

setAttr ignores MFnAttribute::setWritable
Rate this thread
 
52455
 
Permlink of this thread  
avatar
  • Total Posts: 3
  • Joined: 22 April 2008 09:36 PM

From the MFnAttribute::setWritable documentation:

Sets whether this attribute should be writable. If an attribute is writable, then it can be used as the destination in a dependency graph connection. If an attribute is not writable then setAttr commands will fail to change the attribute.

Well, after setting setWritable to false for a numeric attribute, I can still use setAttr in Maya to modify the attribute. Is this a bug and is there a workaround?

Thanks,
Dirk



Replies: 1
/img/forum/dark/default_avatar.png

I had that too. Did you find a workaround?

Author: whisperwing

Replied: 16 September 2011 12:52 PM