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

Synopsis

polyDelFacet([constructionHistory=boolean], [name=string])

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

polyDelFacet is undoable, queryable, and editable.

Deletes faces. If the result is split into disconnected pieces, the pieces (so-called shells) are still considered to be one object.
Notice : The last face cannot be deleted.

Flags

constructionHistory, name
Long name (short name) [argument types] Properties
name(n) string create
Name the resulting object.
constructionHistory(ch) boolean createquery
Turn the construction history on or off (where applicable).
Q: When queried, this flag returns an int.

In query mode, this flag needs a value.


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.

Return value


string The node name.

Related

polyCloseBorder, polyCollapseEdge, polyCollapseFacet, polyDelEdge, polyDelVertex, polyMergeEdge, polyMergeFacet, polyMergeVertex, polyQuad, polyReduce, polySewEdge

Python examples

import maya.cmds as cmds

cmds.polySphere( n='plg', sx=10, sy=20, r=10 )
cmds.polyDelFacet( 'plg.f[115]', 'plg.f[125]', 'plg.f[117]', 'plg.f[127]', 'plg.f[55:57]', 'plg.f[65]', 'plg.f[67]' )