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


polyCreateFacetCtx [-append boolean] [-maximumNumberOfPoints int] [-planarConstraint boolean] [-subdivision int]

polyCreateFacetCtx is undoable, queryable, and editable.

Create a new context to create polygonal objects

Return value


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


append, maximumNumberOfPoints, planarConstraint, subdivision
Long name (short name) Argument types Properties
-subdivision(-s) int createqueryedit
number of sub-edges created for each new edge. Default is 1.
-planarConstraint(-pc) boolean createqueryedit
allows/avoid new facet to be non-planar.
If on, all new points will be projected onto current facet plane.
-append(-ap) boolean createqueryedit
Allows to switch to polyAppendFacetCtx tool
-maximumNumberOfPoints(-mp) int createqueryedit
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 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

// Create a new poly facet create context, set it to add four vertices per new edge, then switch to it
polyCreateFacetCtx -s 4 polyCreateFacetCtx1;
setToolTo polyCreateFacetCtx1;