03-18-2017 02:18 PM
I am not so experiences in scripting, please give me a starting acceleration.
There is an project including classes and lvlib-s. I need to obtain a table of Friend relationships in the project; i.e. get list of friends for each lvclass and lvlib.
So, there should be two steps: 1 - obtaining list of classes and libraries, belonging to the project; 2 - obtaining list of Friends for each found class/library.
Unfortunately, I have no idea how to do any of these two and Google does not help.
Thank you
Solved! Go to Solution.
03-18-2017 08:16 PM
Once you get the reference to the project you could do something similar to this to find classes and libraries in the project and find their friends.
OwnedItems[] will only returns items directly owned by MyComputer so you would probably have to recursively call that to find classes and libraries inside of folders or other libraries.
03-19-2017 02:24 AM
Jacobson, thank you, it works:)
I upload snipped for the same code with recursive search in virtual folders. May be some one will need it.