Function Name2Index returns the internal index number for the specified object.
FUNCTION Name2Index(name : STRING): LONGINT;def vs.Name2Index(name):
return LONGINT| Name | Type | Description |
|---|---|---|
| name | STRING | Name of object. |
Returns the internal index for the object associated with the specified name.
(Joel Sciamma 2006.08.11): If the name does not exist, Name2Index returns zero.
NameIndex := Name2Index('objectName');VS Functions: SetSkylight | CreateSkylight | AddCavity
Availability: from VectorWorks 8.0