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.

Topics - Tehila1

Pages: [1] 2 3 ... 8
Automation Interface, Add-Ins and Tools / Check-in Package - Hook API
« on: April 18, 2016, 06:09:31 pm »

I would like to intervene in the process of checking in a package.
Is there any API that allows it?
I didn't find anything makes sense in the EAAddinBase class..

Thanks in advance!


I would like to get programmatically the Version Control version of a controlled package.
Which EA table stores this information?

Thanks in advance!


I would like to convert an EA.Package to an EA.Element.
The following cast fails: 
Code: [Select]
EA.Package parentPackage = Repository.GetPackageByID(idOfParentPackage); // existing package. success
EA.Element parentPackageAsElement = parentPackage as EA.Element; // fails

Any ideas?

General Board / What causes relation between packages?
« on: March 20, 2016, 07:54:17 pm »

Our model consists of several projects, where as a project is a branch.
Sometimes a project uses assets of another branch. In case of a problem we should reverse the project to a previous version along with its related packages.

 I therefore would like to develop an add-in that recognizes relation among the projects, and here is my questions:
What are the parameters that EA rely on in order to recognize relations among packages?

According to Geert's great article ( I found the following: 
1. In case there is an object on my project, that its classifier is from another project, there is a relation between the package.
2. In case a diagram in my project contains an element from another package.
3. In case there is a relation between element in my project (as source) and an element from another package.
4. In case an attribute in my project is of type that defined in another package.
5. In case a returned type of an operation in my project is a type that defined in another package.
6. In case a parameter to an operation in my project is of type that defined in another package.

Do I cover all of the relation scenarios? any other ideas?
Thanks in advance!


General Board / Scenario Mapping from Sequence Diagrams
« on: February 23, 2016, 10:28:21 pm »
I use Sequence Diagrams to show how flows of Use Case are implemented.

I would like lean on the Sequence diagram to map the possible scenarios to an Excel sheet.
I mean: according to the conditions in the sequence diagram flow I will have an ordered list of possible scenarios and output. Such as:

if condition 1, 2 and 4 are met -> then the output is A
if only 2 and 4 are met -> then the output is B
if only condition 1 is met -> then the output is C
and so on...

Is there a built-in feature that performs this or something similar?

reference :

General Board / Sequence diagrams: messages font size
« on: February 11, 2016, 09:08:45 pm »
I create a sequence diagram in EA and copy it to power point.
The messages font is too small for comfortable viewing.

F4 sets the lifelines font size, but how can I set the messages size?

Thanks in advance!


General Board / SVN Checkout Error
« on: January 13, 2016, 09:11:41 pm »

I use a Version Controlled model (SVN).
When I checkout a package I get the following error several times:

Invalid Opeation

The package indeed checked out afterwards.
Any ideas?

General Board / Interfaces Documentation
« on: January 03, 2016, 06:32:19 pm »

I generate a report for a Component-View model.
The components names are reported as expected, but their interfaces are not:

Let's assume a component has a provided and required interfaces.
Only interfaces names are reported, without their attributes or operations.

The same is for a component with a port: I can see the port name in the document, but cannot reach its interfaces nor their operations.

How can I add embedded element's details to the document template?

Thanks in advance!

General Board / Sequence Diagrams and Statemachine Simulation
« on: December 24, 2015, 07:57:34 pm »

I would like to understand how sequence diagrams can correspond and state-machines:

In sequence diagrams you show the message exchange between objects: EA allows only to show operations.
In EA StateMachines you have to use triggers.
But the triggers cannot be used in Sequence Diagrams!

How do these concepts play together?

Suggestions and Requests / Post Archive
« on: October 05, 2014, 11:19:25 pm »
This forum seems to be very useful.

I assume that questions sometimes are very similar or simply repeat themselves. Previous posts can answer other members or may inspire them so they won't need to post another thread.

The search engine of the forum seems to be not very efficient, my suggestion, then, is to store the threads in a archive so it would be more convenient to search previous posts.


Suggestions and Requests / convert EA elements
« on: November 25, 2013, 12:26:22 am »
Hello everybody!
I want to convert programmatically EA.Element which its type is Package, to EA.Package.
Any Idea?


Suggestions and Requests / EA add-ins
« on: November 25, 2013, 12:20:03 am »
Hello everybody!
I develop some add-in for EA using c#.
I created a singleton class used to access EA.Repository from the different methods, instead of sending the repository as a parameter each time.
Any idea how to relate EA.Repository to this class?

public sealed class EARepository
            private static EARepository instance= new EARepository();
            private EA.Repository Repository;//member to hold repository
             public static EARepository GetRepository
                        return instance;
            private EARepository()
Thanks in advance.

General Board / EA with Version Control Issue
« on: December 03, 2015, 08:24:27 pm »

I use a Version Controlled EA model.

When I checkout one of the packages I get the following error:
 Reserved error (-1601); there is no message for this error.

Another annoying result is that the sub-packages get empty.

Any ideas???

General Board / Export EA diagram to Visio
« on: October 20, 2015, 10:52:19 pm »

I know it is possible to import Visio to EA.
Is export also possible?

Pages: [1] 2 3 ... 8