Develop an icon that changes color
Implement an image of a conveyor that changes the color of its chassis based on the associated alarm state.
NOTA:
Download the sample
ExampleApplication-ChangeIconColorBasedOnAlarm.zipFactoryTalk Optix Studio
project:Prerequisites:
- Download, unzip, and copy theSVG 1.2 Tinyimage into thefolder: advanced_svg_image_to_copy_to_ProjectFiles.zipProjectName/ProjectFilesMANCIA:To enable the selective image color manipulation, the image part of interest must have a unique@idattribute assigned.For example:<gid="ConveyorChassis"> <polygon style="fill:#3C4660;" points="8.532,379.733 503.466,379.733 503.466,277.333 8.532,277.333"/> </g>
- Arrange the interface elements.
In
FactoryTalk Optix Studio
, select to run the project using the client emulator to test your project. To run the project on a remote client, see Add a client device.Fornire un feedback