LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Scripting - Paste object from clipboard inside a structure

Solved!
Go to solution

 

When i am trying to paste a object from clipboard through scripting. The object (node/function) is pasted in correct position but the pasted object is floating.

Is there a way to paste the object inside the case structure. or how to get rid of floating objects when pasting from clipboard. I do have reference of the error wire passing through the case structure. Any way to fix this?

floating objects.png

0 Kudos
Message 1 of 3
(155 Views)
Solution
Accepted by topic author Samuel_James

I assume you are pasting it on the top level diagram.

 

Instead, get a reference to the case structure it should go in, pick which frame, then get its diagram reference, and paste to that.

 

Kyle97330_0-1731958440454.png

 

If this isn't what you're doing, maybe post the scripting code you are using instead?

Message 2 of 3
(121 Views)

That helped Thank you 😀

0 Kudos
Message 3 of 3
(90 Views)