Hi,
I am using EA. 8.0, its API and C#. I have created a SysML block "Car" in a diagram and then created its instance in the same diagram "BlackCar:Car".
Now what happens is when I create a new instance of a block, EA creates a new property in in the repository and name it "BlackCar", but using API, I am not able to get relation b/w the block and its instances. i.e. I am able to get "BlackCar" as a property in my XML but I am not sure which attribute of API "Element" will contain the information about showing any relationship b/w the instance "BlackCar" and its type which should be "Car".
Can any one guide me, how I can reterive this information using API. I have tried different properties, e.g, Element.MetaType, Element.Type, ClassfierID, ClassifierID, ClassifierName, ClassifierType etc etc... but was not able to guess the property which will actually tell information required.
We can see the Type of the sysml block object in E.A, so there must be a way by which E.A maintains the association when its running. Please let me know, your views about it.
Thanks & Regards,
Hamid