Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 969 Bytes

File metadata and controls

35 lines (27 loc) · 969 Bytes

ws2GetMenuAt

Description

Workspace advanced APIs. Return the universal name of the specified index inside the provided menu path See 'ws2GetMenusCnt'.

FUNCTION ws2GetMenuAt(
				menuPath : DYNARRAY[] of CHAR;
				index    : INTEGER): DYNARRAY[] of CHAR;
def vs.ws2GetMenuAt(menuPath, index):
    return DYNARRAY[] of CHAR

Parameters

Name Type Description
menuPath DYNARRAY[] of CHAR
index INTEGER

Remarks

Pat Stanford 4-20-21 The top level menu items do not seem to use the text version of the name as the "Universal Name" but rather a UUID looking string. The positions are numbered starting at 0 (zero)

Use ws2GetMenuAt(ˈˈ, INDEX) where the first item is an empty string and INDEX is an integer specifying the menu item you are interested in to get the Universal Name of the View menu.

Version

Availability: from Vectorworks 2021

Category