Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

SVG Elements dynamic control

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

    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

    m.prestel - 2021-06-30

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

    Best regards,
    Marcel

     
    • matthew

      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

    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.