Go to: Synopsis. Return value. Flags. Python examples.


polyCheck( poly poly... , [edge=boolean], [face=boolean], [openFile=string])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

polyCheck is undoable, NOT queryable, and NOT editable.

Dumps a description of internal memory representation of poly objects.
If no objects are specified in the command line, the objects from the active list are used.
Default behaviour is to print only a summary. Use the flags above to get more details on a specific part of the object.

Return value

intThe number of errors.


edge, face, openFile
Long name (short name) Argument types Properties
edge(e) boolean create
Check edge descriptions.
face(f) boolean create
Check face descriptions. If no flag is set, a complete check is performed.
openFile(of) string create
Opens a file that contains a poly description, as dumped out by the debug commands.

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.

Python examples

import maya.cmds as cmds

cmds.polyCheck( f=True )