Go to: Synopsis. Flags. Return value. Related. Python examples.
polyCopyUV(
[listOfFaces]
, [constructionHistory=boolean], [createNewMap=boolean], [name=string], [uvSetName=string], [uvSetNameInput=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyCopyUV is undoable, queryable, and editable.
Copy some UVs from a UV set into another.
constructionHistory, createNewMap, name, uvSetName, uvSetNameInput
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
string The node name.
polyCylindricalProjection, polyPlanarProjection, polyProjection, polySphericalProjection, polyUVSet
import maya.cmds as cmds
# Create a poly sphere, with default UVset.
cmds.polySphere()
# Create a second UV set
cmds.select( 'pSphere1.f[0:399]', r=True )
cmds.polyProjection( type='Planar', ra=0, isu=1, isv=1, cm=True, uvSetName='newUVs' )
# Copy the UVs of the fisrt 200 faces from the new set to the default one
cmds.polyCopyUV( 'pSphere1.f[0:199]', uvi='newUVs', uvs='map1' )
Return to Autodesk Index