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
Is there a way to get element size as there is to get e.g. visualization size? E.g. if I want to get size of the visualization, I can write THIS^.GetSize(). Is there any documentation which covers this topic (API manual for visualization for example)?
BR,
CodesysCoder
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to get element size as there is to get e.g. visualization size? E.g. if I want to get size of the visualization, I can write THIS^.GetSize(). Is there any documentation which covers this topic (API manual for visualization for example)?
BR,
CodesysCoder
I would also like to know if there is a way to get visual element properties, such as position(x,y) and with height, etc.
There is no API to access the properties of an element from IEC
Best regards,
Marcel
Last edit: m.prestel 2021-06-30