Hi. Could anyone suggest me, is it possible to hide objects from the canvas? I wasn’t able to find such a method myself.
What I tried:
Mass selecting relays, deleting them, and returning them with an undo button. But it’s going to work only for the last undo. I tried selecting and cutting them out, but pasting them back shifts their positions and causes them to lose their groups;
Editing their bounds to minimise their footprint. I can read bounds from them, but I wasn’t able to set them no matter what I did. As I show with the panel called “b”, objects can exist with bounds below the minimal user-settable level.
What should I do? Is there a way to hide/delete relays from a canvas, while making this process easily reversible?
I’d gotten a hint by calling obj.Attributes.Bounds()
It’s represented by RectangleF, which itself is present in System.Drawing, so…
Setting Height to 4 and Width to 10 makes them look like nice small dots while also displaying the group name, what I find ideal for my particular workflow:
Upon reloading the file, the relays return to normal. Upon expiring the layout of their attributes, the relays return to normal.
I understand that it’s not how things are supposed to work and this approach is suboptimal. It, however, works for me. I’ll update the post should I find any instabilities.