Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
polyHole([assignHole=boolean], [createHistory=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyHole is undoable, queryable, and editable.
Command to set and clear holes on given faces.| boolean | Success or Failure. |
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
assignHole(ah)
|
boolean
|
|
||
|
||||
createHistory(ch)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds # To toggle hole on/off on the selected faces cmds.polyHole( )