Hi all !
I have a little problem here that I can’t seem to find an answer online or with colleagues.
I am basically trying to display different requirements from my model and how they are assessed. (satisfied) This is my code:
I can display the requirements names without a problem but in order to catch the element that resolves this requirement, I have to use the relation type ‘Satisfied By’ and look at the target of this latter.
The problem being, when I do that on the interpreter of Capella it works perfectly, but using M2doc seems to be problematic, as it sees all the elements as Abstract Relations which don’t have the “target” attribute. (I also made a special case for if the element solving the requirement was a functional chain as they don’t have a “name”).
I also had a problem with the links connected to constraints as those also don’t have the features name and target…
Did someone already tried to do that and achieve it ?
Thank you so much in advance for your help!