@dtres wrote:
Hello!
I’m trying to create a GH script (although help for developing a C# component would also be welcome!) to create a rectangle with variable sides that respond to a maximum area.
The behavior I’m looking for is to have the edges of the rectangle controlled by two sliders (one for x and one for y). If the area of the created rectangle >= a set max area, I want the sliders to “lock” and prevent the dimension being controlled to become larger.
Any advice on this topic?
Posts: 12
Participants: 6