GetBaIconPath

Returns the full path of an icon for a partial path.

Use

The function can be called event-driven as well as via the Function Binding and can be found in the Actions and Conditions editor under Functions > BuildingAutomation.

The partial path for the function parameter corresponds to the structure of the NuGet package Beckhoff.TwinCAT.HMI.BA.Icons, as it can be seen in the TwinCAT HMI Gallery Explorer.

Valid call options:

GetBaIconPath('HVAC/Cooler.svg')
GetBaIconPath('HVAC/cooler.svg')
GetBaIconPath('HVAC/Cooler')
GetBaIconPath('HVAC/cooler')

Parameter

Path

tchmi:general#/definitions/String

Partial path from icon.

Return value

tchmi:general#/definitions/String

Full path from the icon.