SVG Elements dynamic control

matthew
2021-06-24
2021-07-01
  • matthew - 2021-06-24

    Is there anyway to dynamically control the elements/layers of an SVG such as colours, movements, rotation etc or any way to make your own dynamic symbols/widgets with custom logic and properties to assign variables?

     
  • m.prestel - 2021-06-30

    Hey,
    no there is no way to interact with a SVG.

    Best regards,
    Marcel

     
    • matthew - 2021-06-30

      Hi Marcel,

      How about creating dynamic symbol/widget with logic and fields to assign variables. Is there CodeSys development software or anything that will allow this? I have applications where I need to create dynamic symbols and reuse in different projects.

      Thanks,
      Matthew

       
  • m.prestel - 2021-07-01

    Hey @Matthew,
    of course you could interact with the SVG e.g. if you have embedded it into a HTML site.
    https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/#efeb shows how you can do this currently.

    Be aware the element properties of the google maps element are ugly (will get better once HTML5 controls are getting a better integration)

    Best regards,
    Marcel

     

Log in to post a comment.