Simple snippet which demonstrates how to create group for unshared edges (open edges) with vex.
string name = chs("group_name");int ptnum = i@ptnum;int pts[] = neighbours(0, ptnum); foreach( int pt; pts){ int hedge = pointhedge(0, ptnum, pt); int count = hedge_equivcount(0, hedge); if ( count == 1) setedgegroup(0, name, ptnum, pt, 1);}