Go to: Synopsis. Return value. Related.
Flags. MEL
examples.
polyConnectComponents [-caching boolean] [-constructionHistory boolean]
[-name string] [-nodeState int]
polyConnectComponents is undoable, queryable, and editable.
Splits polygon edges according to the selected components. The
selected components are gathered into connected 'paths' that define
continuous splits. Mixed components (vertices, edges and faces) can
be used at once. The connection rules are: * Edges can connect to
other edges in the same face or to vertices in the same face (that
are not in the edge itself) or to faces connected to other edges in
the same face. * Vertices can connect to edges (as above) or to
vertices in the same face (that are not joined to the first vertex
by an edge) or to faces adjacent to a face that uses the vertex
(except those that also use the vertex). * Faces can connect to
vertices or edges (as above) or to adjacent faces.
In query mode, return type is based on queried flag.
polyClipboard, polyCylindricalProjection,
polyEditUV, polyForceUV, polyMapCut, polyMapDel, polyMapSew, polyMoveFacetUV, polyMoveUV, polyPlanarProjection, polyProjection, polySphericalProjection,
polyUVSet, untangleUV
caching, constructionHistory, name, nodeState
Long name (short name) |
Argument types |
Properties |
Common flags |
-name(-n) |
string |
|
|
Give a name to the resulting node. |
|
-constructionHistory(-ch) |
boolean |
|
|
Turn the construction history on or off (where applicable). If
construction history is on then the corresponding node will be
inserted into the history chain for the mesh. If construction
history is off then the operation will be performed directly on the
object.
Note: If the object already has construction history then
this flag is ignored and the node will always be inserted into the
history chain. |
|
-caching(-cch) |
boolean |
|
|
Toggle caching for all attributes so that no recomputation is
needed |
|
-nodeState(-nds) |
int |
|
|
Defines how to evaluate the node.
- 0: Normal
- 1: PassThrough
- 2: Blocking
- 3: Internally disabled. Will return to Normal state when
enabled
- 4: Internally disabled. Will return to PassThrough state when
enabled
- 5: Internally disabled. Will return to Blocking state when
enabled
|
|
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. |
// make a sphere
polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1 -name sph;
// split two faces by specifying 3 vertices
polyConnectComponents -ch 1 sph.vtx[254] sph.vtx[256] sph.vtx[275];
// split two faces by specifying 3 edges
polyConnectComponents -ch 1 sph.e[278] sph.e[637:638];
// split three faces
polyConnectComponents -ch 1 sph.f[66] sph.f[215:217];
// a complex split involving vertices, edges and faces, in a loop
polyConnectComponents -ch 1 sph.f[270:271] sph.vtx[273] sph.e[232] sph.e[252] sph.e[592] sph.f[210] sph.vtx[229] sph.e[249] sph.e[269];