Hello, I want to check dimensions of the Rectangle in Visualization using FB written in ST and change them when the button is pressed. How can I do that? Can I put a variable in a "Height" or "Width" property?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That time it was not answered.
But yes, it is possible. Search for "Relative movement" properties of the rectangle element. Might need to enable advanced features in the property browser.
That works, thanks, I was trying to get a variable into the Position>Height and was struggling, then I was using absolute movement, never though to try relative movement.
Last edit: pistola 2024-11-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I want to check dimensions of the Rectangle in Visualization using FB written in ST and change them when the button is pressed. How can I do that? Can I put a variable in a "Height" or "Width" property?
Any chance you came up with a solution for this?
That time it was not answered.
But yes, it is possible. Search for "Relative movement" properties of the rectangle element. Might need to enable advanced features in the property browser.
https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_elem_rectangle.html
That works, thanks, I was trying to get a variable into the Position>Height and was struggling, then I was using absolute movement, never though to try relative movement.
Last edit: pistola 2024-11-19