Hi Guys,
Without giving too much away about what I’m trying to do, I just need a point in the right direction I hope.
I’d like to write a GH python component that does a series of changes to the components on the canvas:
- remove all groups
- remove all scribbles
- turn all hidden wires back to default
- change the location on the components on the canvas
I currently do these steps manually using menu items and Metahopper components - I’d just like to automate the process.
Is there somewhere I need to be looking to find these types of controls?
Cheers
DK
Would a solution with metahopper also be acceptable?
@martinsiegrist Thank you!
I currently do use metahopper to do these processes - I’d like to compact it into a single script if possible. I’m also wanting to expand my knowledge on how Metahopper actually works under the hood.
Cheers
DK
1 Like
OK, so I have made some progress, I can change the wire style across the whole GH document.
Now I’m stuck on how to delete groups, looks like I have a way to find/select them, but not how to delete?
Any pointers out there?
Cheers
DK
230711_GH canvas changes in Python WIP.gh (8.5 KB)