Returns the name of the saved view specified by index.
FUNCTION SheetList(sheetIndex : INTEGER): STRING;def vs.SheetList(sheetIndex):
return STRING| Name | Type | Description |
|---|---|---|
| sheetIndex | INTEGER | Index of the sheet |
For TmpCnt := 1 to gNumSheets2 DO
gSheetList2 [TmpCnt] := SheetList (TmpCnt);
Begin
CurSheetName := SheetList(CurSheetNum);
BEGIN
oldSheetName := SheetList (i);
instance := getSheetInstance (oldSheetName);
index := getSheetListIndex (gOldSheetStd, Indiv2TYPE (oldSheetName), gNumSheets);
IF index > 0 THEN
BEGINimport vs
# Returns the name of the saved view specified by index.
sheetIndex = 1
text = vs.SheetList(sheetIndex)
vs.Message('SheetList returned: ' + str(text))VS Functions: SheetNum
Availability: from VectorWorks10.0