PropertiesSymbolSetSymbolGet
Retrieves the Element name and Library name
of the "Index" element of the currently selected object.
"Index" refers to the element within the currently selected object.
For example:
- If the currently selected object is an On/Off symbol set, index can be
a value in the range 0..1
- If the currently selected object is a multistate symbol set, index can
be a value in the range 0..31
- If the currently selected object is an array symbol set, index can be a
value in the range 0..255
- If the currently selected object is an animated symbol set, index can
be a value in the range 0..255
- On return, "Element" will contain the name of the symbol set element name for
the "Index" element
- On return, "Library" will contain the name of the symbol set library name for
the "Index" element
e.g.
Index=0, Element="detail_entrycoil1_grey_01", Library="steelmill"
Index=1, Element="detail_entrycoil1_green_01", Library="steelmill"
Syntax
PropertiesSymbolSetSymbolGet(Index, Library, Element)
Return Value
N/A
Note: For details on handling return and error values, see Error Handling.
Example
Public Sub Test()
Dim gb As GraphicsBuilder.GraphicsBuilder
.
.
.
gb.PropertiesSymbolSetSymbolPut(1, "
Library", "
Element")
Dim sLibrary As String
Dim sElement As String
gb.PropertiesSymbolSetSymbolGet(1, sLibrary, sElement)
End Sub
Related Functions
PropertiesSymbolSetSymbolPut
Published June 2018