LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
NIExpert

Add Right Click Menu option to "Find Objects at Edge" for Auto Grow Structures

Status: New

It would be nice to easily find objects that prevent a structure with "Auto Grow" from becoming smaller in size.  For example, the Add function in  the True case in the simplified example below.

 

NIExpert_0-1680056795428.png

 

 

4 Comments
tst
Knight of NI Knight of NI
Knight of NI

Should be reasonably easy to build yourself as a plugin: when invoked on a multiframe structure, iterate through all the frames, then iterate through all objects in the diagram to check their position and bounds and populate a listbox in a popup window sorted by the distance to the edges and then use the highlight method to move through the elements or skip the popup and just highlight the closest element when the plugin is invoked.


___________________
Try to take over the world!
NIExpert
Member

easy is relative.   seems like a couple hours effort at least 

wiebe@CARYA
Knight of NI

@NIExpert wrote:

easy is relative.   seems like a couple hours effort at least 


Yes, time passes at least 4X faster when you do scripting 😆.

 

In this case, you'll loose time on the FlatSequence(Frame) mess, if you'd choose to support it.

 

tst
Knight of NI Knight of NI
Knight of NI

@NIExpert wrote:

easy is relative. seems like a couple hours effort at least

Well, it's a couple of hours now or wait N years for NI to maybe do it (which would probably be the exact same plugin). It's a matter of how much you want it and how much you enjoy writing scripting code.


___________________
Try to take over the world!