Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: ufechner on September 30, 2007, 10:26:59 pm
-
Hello,
how can I access user defined Attributes of Requirements, that are defined in RA-Quest using the COM-Interface?
I can access normal classes, didn't try to access the attributes of requirements yet.
Any help appreciated.
Uwe Fechner
-
Hello Uwe Fechner,
User-defined values are stored as Tagged-Value of EA.
You can access them using COM-Interface.
(Please notice that some internal values are also stored
as Tagged-Values. Please do not modify these RaQuest internal values.)
--
t-kouno
-
Thank you.
The next thing I need, is to get the list of:
- the requirements, a given requirement is owned by
- the requirements, a given requirement owns
- the requirements, a given requirement depends on
- the requirements, a given requirement is needed by
Any idea?
Regards:
Uwe Fechner
-
Ok, I can use:
GetRelationSet(rsDependStart) and
GetRelationSet(rsDependEnd)
to get the dependencies and the property ParentID
to get the parents of a requirement.
For some reason (I think, it is a bug)
GetRelationSet(rsParents) doesn't work.
But how can I get the children (owns relationship) of a
requirement?
Regards:
Uwe Fechner
-
Maybe now it is not problem of RaQuest but of EA API.
If I understand correctly. Element.Elements collection
is children elements.
--
t-kouno