![]() ![]() # To set the current color set to be "color2".Ĭmds.pol圜olorSet(currentColorSet=True, colorSet= 'color2' )Ĭmds.pol圜olorSet( query=True, currentColorSet=True ) To indicate that the newly created per-instance set should be created withįlag can appear in Create mode of commandįlag can have multiple arguments, passed either as a tuple or a list. This flag can be used in conjunction with the create and perInstance flags In query mode, it returns a list of the instances that share the This flag is used to modify the sharing of per-instance color sets withinĪ given color set family so that all selected instances share the specified This flag corresponds to the color channels to used, for example To the name specified with the colorSet flag to the name specified using the This flag when used will result in the renaming of the color set corresponding In query mode, this flag can accept a value. not containing instance identifiers) will The perInstance flag canīe used in query mode with the currentColorSet or allColorSets flag to indicate Of the shape unless the unshared flag is used. When you create a per-instanceĬolor set, the set will be applied as shared between all selected instances Whether or not the color set is per-instance. This flag can be used in conjunction with the create flag to indicate The colorSet flag, needs to be renamed to. Specifies the name that the color set corresponding to the name specified with To the name specified with the colorSet flag. This flag when used will result in the deletion of the color set corresponding This returns the member of the set family that corresponds This is a query-only flag for use when the current color set is a per-instanceĬolor set family. When queried, this returns the current color set. This does require that a colorSet with the specified name exist. Work on, to be the color set corresponding to the name specified with theĬolorSet flag. This flag when used will set the current color set that the object needs to IfĪ color set with that name already exists, then no new color set will This flag when used will result in the creation of an empty color setĬorresponding to the name specified with the colorSet flag. To the name specified with the newcolorSet flag To name specified with the colorSet flag to the colorSet corresponding This flag when used will result in the copying of the color set corresponding This flag has to be specified for this command to do anything meaningful Specifies the name of the color set that this command needs to work on. This flag specifies if the color set will truncate any value that is This flag when used in a query will return a list of all Keywordspoly, colorSet, currentColorSet, renameColorSet, deleteColorSet, cop圜olorSet, createColorSetįlags allColorSets, clamped, colorSet, copy, create, currentColorSet, currentPerInstanceSet, delete, newColorSet, perInstance, rename, representation, shareInstances, unshared Long name (short name) In query mode, return type is based on queried flag. query the representation value or clamped value of the current color set query the name(s) along with representation value(s) modify sharing between instances of per-instance color sets set the current color set to a pre-existing color set. Pol圜olorSet is undoable, queryable, and editable.Ĭommand to do the following to color sets: Note: Strings representing object names and arguments must be separated by commas. Check out the colorKey Script for coloring Maya TimeLine Keyframe ticks here.Go to: Synopsis. Running the script gives you a simple UI with six color pickers and six associated buttons, simply set the keys as you would normally, and then alter their color using the colorKey buttons. Alternatively, switch strategies and set the keyframe color by kind, using a color for the spine keys, left arm keys in another color, etc. ![]() The python driven colorKey Script will bring up a simple user interface with six colors that will allow you to add color to the keyframe ticks right in the Maya timeline, giving you a way to easily differentiate between the animation keys.Ĭolor your keyframe’s ticks in the timeline and easily identify the type of keys you are working withīy adding color to the keyframe ticks, you are able to easily organize the animation keys on the timeline by type – in that pose keys can be set to one color, breakdowns to another. Guillaume Gilbaud shares a script for Autodesk Maya that does just that. Maya’s other various editors, such as the dope sheet or the graph editor will get you back on track, however would’t it be great to see at a glance what keys are set for what, right in the timeline? Often when creating animation in Maya, after a while the keyframes all look the same, and it is easy to forget what is doing what at which time simply by looking at the Maya timeline.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |