Your Ad Here

Go to: Synopsis. Flags. Return value. Related.

Synopsis

polyToSubdiv( [poly] , [absolutePosition=boolean], [applyMatrixToResult=boolean], [cachedUVs=boolean], [constructionHistory=boolean], [maxEdgesPerVert=int], [maxPolyCount=int], [name=string], [object=boolean], [uvPoints=boolean], [uvPointsU=boolean], [uvPointsV=boolean], [uvTreatment=int])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

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.

Flags

absolutePosition, applyMatrixToResult, cachedUVs, constructionHistory, maxEdgesPerVert, maxPolyCount, name, object, uvPoints, uvPointsU, uvPointsV, uvTreatment
Long name (short name) [argument types] Properties
maxPolyCount(mpc) int queryedit
The maximum number of polygons accepted on the input mesh.
Default: 1000

In query mode, this flag needs a value.

maxEdgesPerVert(me) int queryedit
The maximum allowed valence for a vertex on the input mesh
Default: 32

In query mode, this flag needs a value.

applyMatrixToResult(amr) boolean queryedit
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

In query mode, this flag needs a value.

absolutePosition(ap) boolean queryedit
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

In query mode, this flag needs a value.

uvTreatment(uvt) int queryedit
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

In query mode, this flag needs a value.

cachedUVs(cuv) boolean queryeditmultiuse
Compound attribute that corresponds to uv set of a object It is a multi attribute. The index of the multi has no logical meaning, as indexing is not done by array location but instead by a child attribute (See aUVSetName)

In query mode, this flag needs a value.

uvPoints(uvp) boolean queryeditmultiuse
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.

In query mode, this flag needs a value.

uvPointsU(uvu) boolean queryedit
U value of a cached uv point

In query mode, this flag needs a value.

uvPointsV(uvv) boolean queryedit
V value of a cached uv point

In query mode, this flag needs a value.

name(n) string create
Name the resulting object
constructionHistory(ch) boolean create
Turn the construction history on or off (where applicable)
object(o) boolean create
Create the result, or just the dep. node (where applicable)

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 have multiple arguments, passed either as a tuple or a list.

Return value


string - the subdivision and optionally the dependency node name

Related

changeSubdivComponentDisplayLevel, changeSubdivRegion, createSubdivRegion, nurbsToSubdiv, querySubdiv, refineSubdivSelectionList, subdCollapse, subdToBlind, subdToPoly, subdiv, subdivCrease, subdivDisplaySmoothness

Return to Autodesk Index


Your Ad Here