- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone, I'm facing some stupid issues and i couldn't solve it.
The problem is, My controllers are lost its colors After added to the Display layer by "editDisplayLayerMembers" command.
First there was a colourful controllers but after added to the layer it turn back to the Default curve's color.
-To add the objects to the layer i used this -> mc.editDisplayLayerMembers(GeoLayerName,meshes,noRecurse=True)
-My layer didn't set any color options.
-I created the layer by this "mc.createDisplayLayer(name=GeoLayerName)".
-To change controller's colors i used "setAttr .overrideColor".
- The object's type i added to the layer is "nurbsCurve","mesh". Gathered through mc.ls command.
*After messing around with the controller i found that the cause of color lost is, The controllers lost its "override color attribute". Before added to the Display layer the controller was set On to "Override Enable" and "Override Color",
Right after add the controller to the layer "Override Color" automatically change back to its default setting and couldn't change due to the "The attribute is locked or connected can't be modified" error.
Solved! Go to Solution.