Go to: Synopsis. Return value. Flags. Python examples.
polyCreateFacetCtx([append=boolean], [maximumNumberOfPoints=int], [planarConstraint=boolean], [subdivision=int])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyCreateFacetCtx is undoable, queryable, and editable.
Create a new context to create polygonal objectsNone
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
subdivision(s)
|
int
|
|
||
|
||||
planarConstraint(pc)
|
boolean
|
|
||
|
||||
append(ap)
|
boolean
|
|
||
|
||||
maximumNumberOfPoints(mp)
|
int
|
|
||
|
||||
import maya.cmds as cmds
# Create a new poly facet create context, set it to add four vertices per new edge, then switch to it
cmds.polyCreateFacetCtx('polyCreateFacetCtx1', s=4)
cmds.setToolTo('polyCreateFacetCtx1')