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
FactoryTalk Optix Studio
project:
ExampleApplication-ChangeIconColorBasedOnAlarm.zip
Application example - disabled alarm
Application example - enabled alarm
Prerequisites:
  • Download, unzip, and copy the
    SVG 1.2 Tiny
    image into the
    ProjectName
    /ProjectFiles
    folder: advanced_svg_image_to_copy_to_ProjectFiles.zip
    MANCIA:
    To enable the selective image color manipulation, the image part of interest must have a unique
    @id
    attribute assigned.
    For example:
    <g
    id="ConveyorChassis"
    > <polygon style="fill:#3C4660;" points="8.532,379.733 503.466,379.733 503.466,277.333 8.532,277.333"/> </g>
In
FactoryTalk Optix Studio
, select
Run
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
Hai domande o feedback su questa documentazione? invia il tuo feedback qui.