Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.

Synopsis

uvSnapshot [-antiAliased] [-blueColor int] [-entireUVRange] [-fileFormat string] [-greenColor int] [-name string] [-overwrite] [-redColor int] [-uMax float] [-uMin float] [-uvSetName string] [-vMax float] [-vMin float] [-xResolution int] [-yResolution int]

uvSnapshot is NOT undoable, NOT queryable, and NOT editable.

Builds an image containg the UVs of the selected objects.

Return value

None

Keywords

texture, uv, image

Related

move

Flags

antiAliased, blueColor, entireUVRange, fileFormat, greenColor, name, overwrite, redColor, uMax, uMin, uvSetName, vMax, vMin, xResolution, yResolution
Long name (short name) Argument types Properties
-antiAliased(-aa) create
When this flag is set, lines are antialiased.
-blueColor(-b) int create
Blue component of line drawing. Default is 255.
-entireUVRange(-euv) create
When this flag is set, the generated image will contain the entire uv range. Default is UV in 0-1 range.
-fileFormat(-ff) string create
Output file format. Any of those keyword: "iff", "sgi", "pic", "tif", "als", "gif", "rla", "jpg" Default is iff.
-greenColor(-g) int create
Green component of line drawing. Default is 255.
-name(-n) string create
Name of the file to be created.
-overwrite(-o) create
When this flag is set, existing file can be ovewritten.
-redColor(-r) int create
Red component of line drawing. Default is 255.
-uMax(-umx) float create
Optional User Specified Max value for U. Default value is 1. This will take precedence over the "entire range" -euv flag.
-uMin(-umn) float create
Optional User Specified Min value for U. Default value is 0. This will take precedence over the "entire range" -euv flag.
-uvSetName(-uvs) string create
Name of the uv set to use. Default is the current one.
-vMax(-vmx) float create
Optional User Specified Max value for V. Default value is 1. This will take precedence over the "entire range" -euv flag.
-vMin(-vmn) float create
Optional User Specified Min value for V. Default value is 0. This will take precedence over the "entire range" -euv flag.
-xResolution(-xr) int create
Horizontal size of the image. Default is 512.
-yResolution(-yr) int create
Vertical size of the image. Default is 512.

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 be used more than once in a command.

MEL examples

// Create a polygonal sphere
polySphere;

// Save the UVs in a image
uvSnapshot -o -n "/tmp/uvImage.iff" -xr 256 -yr 256;