Go to: Synopsis. Flags. Return value. Related. MEL examples.
polyDelVertex [-constructionHistory boolean] [-name string]
polyDelVertex is undoable, queryable, and editable.
Deletes vertices. Joins two edges which have a common vertex. The vertices must be connected to exactly two edges (so-called "winged").| Long name (short name) | [argument types] | Properties | ||
|---|---|---|---|---|
-name(-n)
|
string
|
|
||
|
||||
-constructionHistory(-ch)
|
boolean
|
|
||
|
||||
polyPlane -n plg; select plg.vtx[59:61]; //These vertices are not winged, so they can not be deleted polyDelVertex; select plg.e[93] plg.e[95] plg.e[97] plg.e[114] plg.e[116] plg.e[118]; delete; select plg.vtx[59:61]; //Now they are winged, as they are only connected to two edges. polyDelVertex; //Corners are winged, so they can be deleted select plg.vtx[0] plg.vtx[10] plg.vtx[107] plg.vtx[117]; polyDelVertex; select plg; polyOptions -ao -dv true;