Quantcast
Channel: GE Intelligent Platforms e-Forum
Viewing all articles
Browse latest Browse all 2516

accesses a object name in a group in a script ?

$
0
0
I have some code that I created on a smart object. In the group , the top level is called KEY. Well when I copy the object, the new copy becomes KEY1.. then KEY2 etc. Well in my script I have:
Set oPermObj =CimGetScreen.Object.Objects.Item("Key1").Objects. Item(xxxx"

every time I bring in a new object it renames the new one to KEY2 etc. Hopw can I ovoid that or fix the code to look at the top level no mater what? Any ideas ?

Viewing all articles
Browse latest Browse all 2516


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>