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 appear in Create mode of commandFlag 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

import maya.cmds as cmds

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

Previous topic

pymel.core.context.textureLassoContext

Next topic

pymel.core.context.threePointArcCtx

Core

Core Modules

Other Modules

This Page