Go to: Return value. Related commands. Flags. Examples.

Synopsis

polyClipboard [-shader toggle] [-color toggle] [-uvCoordinates toggle] [-copy toggle] [-paste toggle] [-clear toggle]

polyClipboard is undoable, NOT queryable, and NOT editable .

The command allows the user to copy and paste certain polygonal attributes to a clipboard. These attributes are: 1) Shader (shading engine) assignment. 2) Texture coordinate (UV) assignment. 3) Color value assignment. Any combination of attributes can be chosen for the copy or paste operation. If the attribute has not been copied to the clipboard, then naturally it cannot be pasted from the clipboard. The copy option will copy the attribute assignments from a single source polygonal dag object or polygon component. If the source does not have the either UV or color attributes, then nothing will be copied to the clipboard. The paste option will paste the attribute assignments to one or more polygon components or polygonal dag objects. If the destination does not have either UV or color attributes, then new values will be assigned as needed. Additionally, there is the option to clear the clipboard contents

Return value

boolean Success or Failure

Keywords

poly, clipboard, uv, color, shaders

Related commands

polyProjection, polyForceUV, untangleUV, polyEditUV, polyPlanarProjection, polyCylindricalProjection, polySphericalProjection, polyMoveFacetUV, polyMoveUV, polyMapCut, polyMapDel, polyMapSew, polyUVSet

Flags

clear, color, copy, paste, shader, uvCoordinates

Long name (short name)[argument types]Properties
-shader (-sh) create
When used, will be to copy or paste shader attributes
-color (-clr) create
When used, will be to copy or paste color attributes
-uvCoordinates (-uv) create
When used, will be to copy or paste texture coordinate attributes
-copy (-cp) create
When used, will mean to copy the specified attribute argument(s).
-paste (-ps) create
When used, will mean to paste the specified attribute argument(s).
-clear (-cl) create
When used, will mean to clear the specified attribute argument(s).

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

Examples


// Copy uv, color and shader attributes
polyClipboard -copy -uv -color -shader;
// Paste only shader attribute
polyClipboard -paste -shader;
// Copy color attribute only
polyClipboard -copy -color;
// Clear all the clipboard attributes
polyClipboard -clear -uv -color -shader;