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 - Dieter Goetz

Pages: [1] 2
Automation Interface, Add-Ins and Tools / Package Flags and CheckedOutTo
« on: September 05, 2016, 05:05:06 pm »
I try to change the package flags within an Add-In. Deleting the CheckedOutTo flag is working. But adding the CheckedOutTo flag ends in an exception.

Actually in both cases the same
string flags = package.flags;
flags = // manipulate flags, add or delete CheckedOutTo
package.flags = flags;

Do you have any ideas how I can add the CheckedOutTo Flag without using the method VersionControlCheckout().


General Board / Operations of interface realized by class
« on: July 12, 2016, 09:48:55 pm »
When connecting a class to an interface with a realization EA asks which operations shall be implemented by the class.
EA adds all implemented operations to the class as a copy. Is there a possibility to link the class operations to the interface?
I am looking for something like inherited features between classes.


Hi all,

when I am  adding new elements on a diagram the Z-order of these elements is a little bit strange. And it seems to depend on the EA version.
I expected the Z-order is the same as modelling by mouse. But it isn't.
How can I change the Z-order of elements on a diagram via the EA API?


How can I disable a MDG technology from an Add-In?


Hi all,

we are working with a server based EA-Project and packages under version control.
One user performs a get all latest. I would suppose the EA-Project is now up to date. But if another user performs get all latest on the same EA-Project and the same svn Repo EA starts to import XML files. We have the same behaviour for a file based EA-Project (EAP-file was for both users the same). The EA-Project is for bother users different after the get all latest.
It seems that EA find differences for an identical svn Repo. Do you have any ideas?

Best regards

General Board / Deleting external references
« on: January 30, 2015, 06:44:46 am »

I have a strange problem with controlled packages and external references.

I want to delete an external reference in my EA-project. EA says: the element is checked into under version control.

Even if I check out all controlled packages the external reference can't be deleted.

Thanks for your help.


General Board / Move or rename XMI-Files of Controlled Packages
« on: March 14, 2014, 07:51:29 pm »
I am working with controlled packages and subversion. If a package is configured as controlled package renaming or moving the XML files requires to disconnect it from version control. But in this case all commit messages get lost.
If I want to keep the commit messages I have to move the XML file in the svn repository. But then I have to assign an existing XML file to a package. Is this possible?

Bugs and Issues / Losing link to child diagram
« on: May 01, 2013, 01:09:49 am »
Dear EA-Users,

some of our composite elements sometimes lose the link to their child diagrams. We have this problem only in one EA-Project where the composite elements and the child diagrams are in different controlled packages.
RightMouseClick | Advanced | Composite is checked but the glasses symbol in the right corner is missing.
Do anybody has the same problems? We are using EA 9.3.932


Automation Interface, Add-Ins and Tools / Getting parameter's tagged values
« on: December 02, 2015, 12:09:32 am »

how can I read tagged values from parameter using the EA SDK?

This code will threw an exception:

//parameter is of type EA.parameter and existing
//Min is also existing
EA.TaggedValue tagValue = parameter.TaggedValues.GetByName("Min");

The same line of code for other EA elements is working.

Automation Interface, Add-Ins and Tools / SQLQuery for different databases
« on: December 15, 2014, 10:11:31 pm »
I am using an addin programmed in C#. Now I have a problem with SQLQuery() method.

In EA directly I use  #DB=SQLSVR# / #DB=JET# to adapt the query to different databases. How can I do this in the C# SQLQuery() method?

Thanks for your help.


I have a strange problem with some controlled packages.
Sometimes the menu item "Package Control | Get Latest" is greyed out.

Any ideas?



I have a strange problem with MDG generation. I created some document templates as fragment. EA marks them with a red dot in the icon.

If I generate a MDG including these fragments they are changed to a normal document template with a blue dot - and the script is not working.

I looked in the exported reference data. There are two differences between normal and a fragment template. But this information is encoded in the MDG XML-file.
So its propably not possible to edit the MDG XML-file.

Does anybody know how I can add a fragment to a MDG?


Automation Interface, Add-Ins and Tools / Add tagged values to RTF header
« on: September 05, 2013, 09:27:09 pm »

does anybody nows a possibility how to add tagged values to a header or footer of a RTF template?

Thanks for tips.


Automation Interface, Add-Ins and Tools / Separator in c# Addin
« on: April 02, 2013, 06:30:53 pm »
How can I add a separator line to the menu of a c# addin?
I tried a string like "---" but it doesn't look professional.


I have problems importing a MDG Technology including JScripts.

When I import via "Tools -> MDG Technology Import" the included JScripts will be imported.

The JScript is missing when I import via "Resources -> MDG Technologies".

How can I import the Scripts as a resource?

Pages: [1] 2