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 - MoMo

Pages: [1]
1
Uml Process / Re: Migration RSA --> EA
« on: December 10, 2007, 01:07:13 pm »
Hello David,
I found two problems when I import from an EMX file

1- The Z-order is not respected : hopefully I could solve that with a LIFO stack(using an automation routine)  because the z-order was inversed

2- The most important problem is that notes are missing in the diagrams. I looked in the emx file, and it contains the notes information. Here also I’m thinking to write an automation routine but it wouldn’t be that easy because the notes are linked to associations or/and objects and also I have to define their positions, height and width in diagrams.

2
Uml Process / Migration RSA --> EA
« on: December 10, 2007, 02:05:53 am »
Hello

  i have several diagrams in Rational software architect that i want to migrate to EA.

  the problem is that the Z-order of the packages and elements is not respected when i do an import EMX files in EA.

 there is a known issue for this problem ?

thanks

3
Uml Process / Link a note to an association
« on: December 06, 2007, 08:51:39 am »
Hi

 there is a way to link a note to an association in a diagram?

thanks for your help


4
Automation Interface, Add-Ins and Tools / RTF Template
« on: December 12, 2007, 06:06:54 am »
 Hello,

there is a way to export a RTF Template from an eap file to an other ??

thanks.

5
Automation Interface, Add-Ins and Tools / Re: Element Keywords
« on: December 18, 2007, 03:32:32 pm »
i never used the MiscData attribute as i dont know what are the fields.
in the EA User Guide MiscData is not documented, can i find somewhere the description of the MiscData fields ?

thanks

6
Automation Interface, Add-Ins and Tools / Element Keywords
« on: December 18, 2007, 12:59:27 pm »
hello

 A simple question... Can we access to an element's keywords by automation?
What I try to do is to research an element (here a package) with a specified keyword:
Code: [Select]


foreach (EA.Element item in repository.GetElementsByQuery("Extended", "somekeywords"))
{
if ((item.Type == "Package") && (item.keywords =="somekeywords"))
 {
Package aPackage = repository.GetPackageByGuid(item.ElementGUID);
listPackage.Add(new EAPAckage(aPackage));

  }
}

"item.keywords" doesn't exist. (it works well with Alias but i use Alias for other things)
Also I can't cast an element to a package so I’m obliged to do a "second research" by guid to get the package.
There is another way to do that?
i'm using C#
thanks

7
Automation Interface, Add-Ins and Tools / Re: External Requirement
« on: December 15, 2007, 05:31:03 am »
thanks David for your help. i have an other question.

  i add an element requirement by automation, Do you know if it's possible to move that element requirement to external by automation (like we do in the element propreties in EA)?

8
Automation Interface, Add-Ins and Tools / External Requirement
« on: December 14, 2007, 02:38:02 pm »
Hello ,

 i have external element requirements, when i try to do something like this :
Code: [Select]

EA.Element oElem = Repository.GetElementByID(100);
foreach (EA.Requirement req in oElem.Requirements)
{
MessageBox.Show(req.Name);
}


it doesn't show the external requirements(but the others it does).

how can i access to those external element requirements ?

thanks

Pages: [1]