Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Yassine

Pages: [1]
1
Hi,

It's solved.
Thank you all for your help :D.

Best Regards,
Yassine

2
Hi,

Sorry for the lack of information form my side.

So I have a Sequence diagram, and I want to parse the elements of all the diagram including Combined fragment( or InteractionFragment)

This is my Code:

foreach ( Diagram d in packages.Diagrams){

if(d.Name == "Sequence diagram"){

foreach(DiagramObject o in d.DiagramObjects){
if( repository.GetElementById(o.ElementID).Type == "InteractionFragment"){
Element CombinedFragement=repository.GetElementById(o.ElementID);
string condition = //Here is where I want to extract the conditions (if [condition 1] else [condition 2] ) in the Combined Fragment
}
}

}

I hope that's clear.

Thank you,
Yassine


3
Hi all,

I'm using a c# add-in and I would like to know, how I can read the Combined fragment's conditions. I went through all the properties available and I still cannot find where they are stored.

Thank you,
Yassine Hamza

Pages: [1]