Create a command for creating new texture placement contexts. By default label mapping is on when the context is created.
| Long name (short name) | Argument Types | Properties | |
|---|---|---|---|
| exists (ex) | bool | ||
| history (ch) | bool | ||
| image1 (i1) | unicode | ||
| image2 (i2) | unicode | ||
| image3 (i3) | unicode | ||
| labelMapping (lm) | bool |
|
|
|
|||
| name (n) | unicode | ||
Derived from mel command maya.cmds.texturePlacementContext
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.texturePlacementContext()
# Result: u'texturePlacementContext1' #