pymel.core.context.texturePlacementContext — PyMEL 1.0.7 documentation

pymel.core.context.texturePlacementContext

texturePlacementContext(*args, **kwargs)

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 ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set the context to label mapping. Flag can have multiple arguments, passed either as a tuple or a list.
name / n unicode  
   

Derived from mel command maya.cmds.texturePlacementContext

Example:

import pymel.core as pm

pm.texturePlacementContext()
# Result: u'texturePlacementContext1' #