Icon Viewer Views

It is nice that icons are supported in Perspective, however, a viewer does not exist yet. I have created a set of views that should allow you to view each icon from an icon set.

Configure the custom.folder property to point to the folder with your svg icons. Then, the drop down will populate, and you can select the icon set. Then click interrogate, and you should see all your icons drawn a short while after.



icon viewer.proj (6.0 KB)

5 Likes

Have you tried this on the latest build? I restored your project and ran it but the script on the dropdown says “dropdown error”.

I suspect it has something to do with the structural changes in the last big patch in the Beta. The “feature complete” build a couple dailies ago.

On the other hand, if it works fine for you then the issue must be elsewhere.

The dropdown has a custom.folder property. You need to change that to the folder containing the icon svgs. Typically, data/modules/com.inductiveautomation.perspective/icons.

Also, the client has to be ran on the same computer as the server.

For the default material.svg provided with Ignition, there is an easy reference here: https://material.io/tools/icons/

For example, to use the “alarm_on” icon, set the path to “material/alarm_on”.