Go to: Synopsis. Flags. Return value. Related. Python examples.
polyColorDel([constructionHistory=boolean], [name=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyColorDel is undoable, queryable, and editable.
Deletes color from selected components.| Long name (short name) | [argument types] | Properties | ||
|---|---|---|---|---|
name(n)
|
string
|
|
||
|
||||
constructionHistory(ch)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds # Create a plane. cmds.polyPlane( n='plg', sx=5, sy=5, w=20, h=20 ) polyColorPerVertex -r 0 -g 0 -b 1 -a 1 -cdo; # Delete the color from the given faces. cmds.polyColorDel( 'plg.f[11:13]', 'plg.f[16:18]' )