Quick Drop Enthusiasts

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add "from clipboard" to the "Replace / Insert" plugin

You are right, I am crazy.  What I was trying to say is that if you perform an insert on a wire that has mulple sink locations, the insert should be between that sink, and the next junction of wires.  I swear in my testing your insert wouldn't obey this rule that was added in 2012.  2011 insert couldn't support this type of insert.

EDIT:  No now I'm sure your insert, when using the clipboard, will not always insert on the right branch of the wire and I suspect it is a bug with the "InsertPoint" input on the Insert Node Invoke Node, I just don't know where the bug is yet.

0 Kudos
Message 11 of 14
(572 Views)

Okay I found the bug.  Determining what segment of the wire the insert should take place on, depends on the flags of that segment.  Apparently if you paste in an object on the block diagram, these selection flags change, and now your insert won't take place at the right location.  A quick solution is to read the "Joints" information, before performing the paste operation and now it works as expected.

0 Kudos
Message 12 of 14
(572 Views)

Good catch, Thank you. I will check this later.

LabVIEW ChampionArchitect
0 Kudos
Message 13 of 14
(572 Views)

I made the change to the "insert" plugin to correct the problem.

Thank you for finding this

LabVIEW ChampionArchitect
0 Kudos
Message 14 of 14
(572 Views)