How can I programmatically find which field from ECClass correspond to some real EC data on object. In .Net I can use Elemennt.GetDependants() to find connected textnodes, but I don’t know how extract information that this text or some part of text is field from some EC property and and which key belongs to this field?
In old fashion way in tags is simple extract to which element is tag connected and which tag-definition from which tagset represents.
Something similar I expect with fields is it possible?
Miro
Paul Connelly said:API enhancements...
Good suggestions!
Regards, Jon Summers LA Solutions
I care more about ECProperty and ECValue than graphic element from an ECInstance.
Hi hao huanghao,
I am not sure if you replied to this post accidentally since it is rather old. If you needed to reply to a different/correct post please feel free to do so. If I ready your need properly, consider taking a look at our CONNECT APIs > EC blogs that may be helpful.
HTH,Bob
@Robert Hook,Thanks!
Paul Connelly said:it sounds like you will need some enhancements to the published SDK: 1. Make TextField::FindTarget() available. This returns an ECInstance from which you can obtain ECSchema+ECClass. 2. Make TextField::GetAccessor() available. This returns the property access string
it sounds like you will need some enhancements to the published SDK:
1. Make TextField::FindTarget() available. This returns an ECInstance from which you can obtain ECSchema+ECClass.
2. Make TextField::GetAccessor() available. This returns the property access string
Did those suggestions get anywhere?