06-28-2013 12:00 PM
This plugin comforts me in my OCD by moving everything on the block diagram to the origin (ofset by eight pixels from the top/left corner).
Note: this will only work in LabVIEW 2012, for now. I tried saving it back to 9.0 but couldn't get a reference to the block diagram and couldn't select all of the objects.
06-28-2013 02:58 PM
This one has been on my short list to make for a long time.
Thank you doing this for all of us.
Anything I can pluck from your list you've been wanting and do for ya?
06-28-2013 03:41 PM
The Select All doesn't exist in 2011 either. I've had a plugin that does this and way more. I've become more OCD when I realized I could manipulate certain things.
My plugin Move the terminal labels to the sides, sizes the window to fit the code, centers the code in that window, shifts everything to have the origin at (0,0), sends all error wires to the back, and does a wire cleanup. Works with 2011. I admit that I grabbed code from other plugins out there to accomplish this.
I'll have to experiment with your implementation to see if it works better than mine.
07-22-2013 08:49 AM
I added shrinking the BD window around the code, but I'm not super-pleased with the constants I added to the bounds:
It works for what I've tested this morning; I'll see if it works all the time.
07-23-2013 06:13 AM
03-28-2016 11:15 AM
Works very well except for labels that I pull to the left on Controls are not accounted for in the "leftmost" calculation. Even with this (very minor) issue, this is a huge timesaver as I too like to start at the Origin with both my front panels AND my block diagrams, and it's ruined when you use the "Create sub-VI (from selection)" function.
04-08-2016 10:46 AM
I've tweaked it to add support for labels, and gave it a bit more padding around the adjusted BD size. I saved for LV 12 from 13, hopefully it works in 12 like the original. Hope you don't mind JC, but I've edited the original doc to use this new version, making it Version 4 of the doc.