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

Synopsis

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").

Flags

constructionHistory, name
Long name (short name) [argument types] Properties
-name(-n) string create
Name the resulting object.
-constructionHistory(-ch) boolean createquery
Turn the construction history on or off (where applicable).
Q: When queried, this flag returns an int.

In query mode, this flag needs a value.


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

Return value


string The node name.

Related

polyCloseBorder, polyCollapseEdge, polyCollapseFacet, polyDelEdge, polyDelFacet, polyMergeEdge, polyMergeFacet, polyMergeVertex, polyQuad, polyReduce, polySewEdge

MEL examples

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;