Go to: Synopsis. Flags. Return value. Related. Python examples.
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.| Long name (short name) | [argument types] | Properties | ||
|---|---|---|---|---|
name(n)
|
string
|
|
||
|
||||
constructionHistory(ch)
|
boolean
|
|
||
|
||||
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]' )