BD_Geoactive
2 months agoContributor
Help with VLCNETObject (tree) and finding its items
Hello all, I am trying to figure out if I can write a script to try and select an item in a tree view object. Unfortunately, the tree view in question doesn't have SelectItem()/ClickItem() methods i...
- 2 months ago
You've written the following code,
targetItem = vlcNetTree.FindChild("(12) Well Test 1", "*", 3)Where parameters are -
PropNames - A property or an array of properties by which the method will search for an object.
PropValues - A value of a single property or an array of values of properties that the PropNames parameter specifies.
Depth - An integer value that sets the maximum level of the object’s hierarchy that the method will reach while searching for the specified object.
Hint: Using the Object Browser, where is the Property Name of "(12) Well Test 1"? And where is the Property Value of "*"? Refer to the FindChild method examples, and note the parameters