03-02-2022, 02:51 PM
How can two targets with the same name be retrieved as separate items via the API?
I know I can retrieve a target item via its name 'tar01':
But suppose I have two different targets in the station tree with the same name, 'tar01', which could be linked to a different robot in the same station. How can I retrieve both as separate items?
Best regards,
Maarten
I know I can retrieve a target item via its name 'tar01':
Code:
item = RDK.Item('tar01',ITEM_TYPE_TARGET)
But suppose I have two different targets in the station tree with the same name, 'tar01', which could be linked to a different robot in the same station. How can I retrieve both as separate items?
Best regards,
Maarten