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

Synopsis

polyHole [-assignHole boolean] [-createHistory boolean]

polyHole is undoable, queryable, and editable.

Command to set and clear holes on given faces.

Return value

booleanSuccess or Failure.

In query mode, return type is based on queried flag.

Keywords

poly, hole, smooth, subdiv

Related

polySmooth

Flags

assignHole, createHistory
Long name (short name) Argument types Properties
-assignHole(-ah) boolean createqueryedit
Assign the selected faces to be hole or unassign the hole faces to be non-hole. By default, the command will assign faces to be hole.
-createHistory(-ch) boolean createqueryedit
For objects that have no construction history, this flag can be used to force the creation of construction history for hole. By default, history is not created if the object has no history. Regardless of this flag, history is always created if the object already has history.

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


// To toggle hole on/off on the selected faces
polyHole;