polyToSubdiv is undoable, queryable, and editable.
This command converts a polygon and produces a subd surface.
The name of the new subdivision surface is returned.
If construction history is ON, then the name of the new dependency
node is returned as well.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-maxPolyCount(-mpc)
|
int
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
The maximum number of polygons accepted on the input mesh.
Default: 1000
|
|
-maxEdgesPerVert(-me)
|
int
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
The maximum allowed valence for a vertex on the input mesh
Default: 32
|
|
-applyMatrixToResult(-amr)
|
boolean
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
If true, the matrix on the input geometry is applied to the object
and the resulting geometry will have identity matrix on it. If false
the conversion is done on the local space object and the resulting
geometry has the input object's matrix on it.
Default: true
|
|
-absolutePosition(-ap)
|
boolean
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
If true, the possible blind data information that comes from the
polygon will be treated as absolute positions of the vertices,
instead of the relative offsets. You most likelly just want to
use the default of false, unless you know that the blind data
has the absolute positions in it.
Default: false
|
|
-uvTreatment(-uvt)
|
int
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Treatment of Subd UVs when in proxy mode:
- 0 - preserve Subd UVs
- 1 - build Subd UVs from Poly UVs
- 2 - no UVs on Subd
Default: 0
|
|
-uvPoints(-uvp)
|
float float
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif)
|
|
This is a cached uv point needed to transfer uv data associated with
finer level vertices (when switching between standard editing mode
and poly proxy mode.
|
|
-uvPointsU(-uvu)
|
float
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
U value of a cached uv point
|
|
-uvPointsV(-uvv)
|
float
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
V value of a cached uv point
|
|
-preserveVertexOrdering(-pvo)
|
boolean
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Preserve vertex ordering in conversion
Default: true
|
|
-quickConvert(-qc)
|
boolean
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Debug flag to test the performance
Default: true
|
|
Advanced flags |
-caching(-cch)
|
boolean
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
|
|
-nodeState(-nds)
|
int
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Modifies the node state. See the node documentation for more information.
Note: For advanced users only.
|
|
Common flags |
-name(-n)
|
string
|
|
|
Name the resulting object
|
|
-constructionHistory(-ch)
|
boolean
|
|
|
Turn the construction history on or off (where applicable)
|
|
-object(-o)
|
boolean
|
|
|
Create the result, or just the dep. node (where applicable)
|
|