VS:ws2FindMenuIndex

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Workspace advanced APIs. Return the indx of the specified universal name inside the provided menu path. Return -1 if not found. See 'ws2GetMenusCnt'.
FUNCTION ws2FindMenuIndex(
menuPath  :DYNARRAY[] OF CHAR;
findMenuUnivName  :DYNARRAY[] OF CHAR) : INTEGER;
def vs.ws2FindMenuIndex(menuPath, findMenuUnivName):
    return INTEGER

Parameters

menuPath DYNARRAY[] of CHAR
findMenuUnivName DYNARRAY[] of CHAR

Version

Availability: from Vectorworks 2021
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox