With this script I can select the concerning grids in a project.
I want to be able to choose the side of the grid on which a bubble should be hidden.
Can anyone help me with this. The script contains the following Python code. I’m not experienced enough with Python to alter it.
There are zero errors and the script works like a charm. However I want the script to hide the bubble on the other side of the selected grid if I select the concerning grids again, or an extra toggle in the menu to hide the segments end or start.
Your explanation is a little confusing. Can you explain in detail what your graph is doing now and what you want it to do in the end?
It sounds like you want it to do one thing the first time you run it and a different thing the next time. That’s a little tricky but you could essentially have it check for Outcome1 (the first thing it should do) before running and if that intended result is the current condition of the element then run Outcome2, otherwise run Outcome1.
The script now only hides the grid bubbles surrounded by a red square.
I want to build in a switch so that the other side of the grid bubbles can be hidden instead of the red ones.
Since you’re meddling with grid lines, i’d like to share a script that will come in handy aswell. I found it on here somewhere but i can’t remember who made it.
This script sets ALL grids in view to 2D, so you can drag the ends without dragging the grids in 3D. The process of manually setting al grid ends to 2D is such a pain… Stramienlijnen 2D.dyn (9.9 KB)
Hello @kboschJGDNZ
If this swicthing ends is already what you wanted it´s ok, but i just wanted to add that we have python codes on the forum that will set the grid ends to the cropbox and the bubbles to a specific end, in this case always the top and left side. This will also work if the view has been rotated.