Create a new context to create polygonal objects In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
append (ap) | bool | ||
|
|||
exists (ex) | bool | ||
image1 (i1) | unicode | ||
image2 (i2) | unicode | ||
image3 (i3) | unicode | ||
maximumNumberOfPoints (mp) | int | ||
Allows the ability to set a upper bound on the number of points in interactively place before polygon is created. A value less than 2 will mean that there is no upper bound. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
planarConstraint (pc) | bool | ||
|
|||
subdivision (s) | int | ||
|
|||
texture (tx) | int | ||
Derived from mel command maya.cmds.polyCreateFacetCtx
Example:
import pymel.core as pm
# Create a new poly facet create context, set it to add four vertices per new edge, then switch to it
pm.polyCreateFacetCtx('polyCreateFacetCtx1', s=4)
pm.setToolTo('polyCreateFacetCtx1')