Go to: Synopsis. Flags. Return value. MEL examples.
polySplitEdge [-constructionHistory boolean] [-name string]
polySplitEdge is undoable, queryable, and editable.
Split Edges.| Long name (short name) | [argument types] | Properties | ||
|---|---|---|---|---|
-name(-n)
|
string
|
|
||
|
||||
-constructionHistory(-ch)
|
boolean
|
|
||
|
||||
polyPlane -w 1 -h 1 -sx 10 -sy 10 -ax 0 1 0 -cuv 1 -ch 1;
scale -r 15 15 15;
move -r -8 0 6;
select -addFirst polyPlane1 ;
setAttr "polyPlane1.subdivisionsWidth" 3;
setAttr "polyPlane1.subdivisionsHeight" 3;
select -r pPlane1.e[12] ;
polyExtrudeEdge -ch 1 -kft 0 -pvx -5.5 -pvy 0.0 -pvz 6.0 pPlane1.e[12];
// Result: polyExtrudeEdge1 //
setAttr "polyExtrudeEdge1.localTranslate" -type double3 0 0 5.093611 ;
select -r pPlane1.e[12] ;
polySplitEdge;
// Result: polySplitEdge1 //
// The edge is now split..
select -r pPlane1.f[9] ;
move -r 0 0.5 0 ;