Hi,
I am working on PLM Automation Teamcenter. I need your help for the following problem
I want to select or expand the nodes from javatree :
The above code fails to select and expand,because passing nodename doesnt work.
It works well if indexes are used e.g #0:#0 but it wont be feasible.
Can you please suggest alternative methods.
Thanks in advance.
I am working on PLM Automation Teamcenter. I need your help for the following problem
I want to select or expand the nodes from javatree :
Code:
Set objSearchTree = JavaWindow("MyWorkListWindow").JavaTree("MyWorkListTree")
objSearchTree.Select sNodeName ' To select node sNodeName
objSearchTree.Expand sNodeName 'To expand node sNodeName
The above code fails to select and expand,because passing nodename doesnt work.
It works well if indexes are used e.g #0:#0 but it wont be feasible.
Can you please suggest alternative methods.
Thanks in advance.