Author Topic: Get Property Id of an element  (Read 447 times)

Peter

  • Newbie
  • *
  • Posts: 4
Get Property Id of an element
« on: May 29, 2017, 12:00:34 PM »
Hallo,

it is a simple question. Is it possible to get the property Id of an element in Python similar to the element Id (element.Id)??

Thanks
Peter

Miguel Angel Celigueta

  • Administrator
  • Newbie
  • *****
  • Posts: 38
Re: Get Property Id of an element
« Reply #1 on: May 29, 2017, 03:51:40 PM »
Hi Peter,
Yes, it is possible, simply write:

element.Properties.Id

element.Properties returns the properties, then you just have to get the Id of that.
I hope this helps,

Miguel Angel

Peter

  • Newbie
  • *
  • Posts: 4
Re: Get Property Id of an element
« Reply #2 on: May 29, 2017, 05:31:33 PM »
Now I feel a bit embarrassed because it's so easy. Thanks a lot.