Create a command for creating new texture placement contexts. By default label mapping is on when the context is created.
Flags:
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
pm.texturePlacementContext()
# Result: u'texturePlacementContext1' #