Function NameNum returns the number of different object names in the active VectorWorks document.
FUNCTION NameNum : LONGINT;def vs.NameNum():
return LONGINTresultN := NameNum;import vs
# Function NameNum returns the number of different object names in the active
# VectorWorks document.
count = vs.NameNum()
vs.Message('NameNum returned: ' + str(count))Availability: from All Versions