Get Datatype for subtags/Property of any tag

Subtags

Hello Everyone,

         Can anyone tell me how to get the datatype for subtags or property(marked red) of any tag.

 Thanks,
Kartik I

You just did :slight_smile:
A little more context would help, e.g. where you’re trying to get these props. But you just need to append onto the tag path a dot followed by the tag prop
Eg

Tag/path.engUnit

You should be able to right click on a tag prop in the tag browser and copy the path to it

1 Like

Hello @nminchin actually I am trying to get datatype for this props so is it possible?

Perhaps this will steer you in the right direction,

tag = '[MyTags]Tag/path.engunit'
print type(system.tag.read(tag).value)
<type 'unicode'>
1 Like

Thanks @jlandwerlen it solved my problem.

1 Like