Function NextSymDef returns a handle to the next definition in the symbol library after the referenced symbol. If the end of the list has been reached, the function returns NIL.
FUNCTION NextSymDef(symHd : HANDLE): HANDLE;def vs.NextSymDef(symHd):
return HANDLE| Name | Type | Description |
|---|---|---|
| symHd | HANDLE | Handle to symbol definition in library. |
If the symHd passed as argument is a symbol folder, the list ignores the symbol definitions. See: FSymDef.
h := NextSymDef( h );
END;
BEGIN
temp_i := InsertImagePopupObjectItem(dialogID,PreviewItem,getSDName(hSymdef));
hSymDef := nextsymdef(hSymdef);
END;
IF GetName(ItemHdl) = FoldName THEN FoldHandle := ItemHdl;
FindFolderHandle (FInFolder (itemHdl), FoldName, FoldHandle);
END;
END;
itemHdl := NextSymDef (itemHdl);
END;import vs
# Function NextSymDef returns a handle to the next definition in the symbol
# library after the referenced symbol.
symHd = vs.FSActLayer() # handle to the first selected object on the active layer
objHandle = vs.NextSymDef(symHd)
if objHandle is not None:
vs.Message('Created object handle: ' + str(objHandle))See also in tutorials: 28. Symbol Instance Schedule
Availability: from All Versions