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 - Knut Paulsen

Pages: 1 ... 3 4 [5] 6
Automation Interface, Add-Ins and Tools / Re: Audit trail data
« on: October 05, 2012, 03:58:52 pm »
Thanks :-)

Turned out to be zip encoded xml  ...

Automation Interface, Add-Ins and Tools / Audit trail data
« on: October 04, 2012, 07:37:51 pm »
Hi guys,

does anybody know where the audit trail data is stored?
And if it is encoded in any way?


Automation Interface, Add-Ins and Tools / Relationship matrix profile
« on: September 18, 2012, 07:36:56 pm »
Hi guys,

Anybody know how to transfer relationship matrix profiles from one project to another?

And where are they stored? I have searched registry, windows settings and database without finding them ...


Automation Interface, Add-Ins and Tools / Re: EA_OnPostInitialized
« on: September 11, 2012, 04:08:54 pm »
Please ignore my post from yesterday. I don't know what I was thinking about :-)

I just don't understand how I could have missed the file open event.

Automation Interface, Add-Ins and Tools / Re: EA_OnPostInitialized
« on: September 11, 2012, 12:42:51 am »
I am not sure I understand what you are doing here. Why 'override'? and FileOpen? I was under the impression that this was a method I could call to open an eap file repository, not a callback method.

Automation Interface, Add-Ins and Tools / EA_OnPostInitialized
« on: September 03, 2012, 10:16:44 pm »
Hi guys,

According to the manuals this method 'notifies Add-Ins that the Repository object has finished loading and any necessary initialization steps can now be performed on the object'.

And the repository parameter is described as 'An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information'.

However, when I implement this method it is called when EA starts, BEFORE I connect to any project. This seems to me to be in stark contrast to the description of the method and parameter. I would expect it to be called after the model has been properly initialized.

Is it just me, or is this weird?

What I am really looking for is a way to get some code executed after EA has loaded the model, but before the user is able to do anything.

Appreciate any help :-)


Hi guys,

I have created a set of statuses and constraint types under General Types that I use for requirements and use cases. I have also created an MDG Technology containing diagram templates and toolboxes and a package structure, which can be selected from the Model Wizard when a new project is created.

It all works very well, except from one annoying issue. I cannot see how to get my element statuses and constraint types into newly created model. Is this impossible, or am I missing something?

Alternative question: If it turns out that there is not way of including the statuses in the MDG, I know it is a possibility to export statuses as reference data. Is it possible to automatically import reference data like this when a model is created?


You can do a complete recursive merge (don't remember the clicks). However, I'd touch baseline merging only with a hay fork. It reports differences where there are none!


Well, as long as you know it is possible, the motivation to keep searching is stronger :-)
Right click on the top level of the change tree in the compare utility, select 'Merge from baseline (with options), then check 'Full Restore from XMI' in the dialog.

Ok, thanks. No need to dig further :-)

The reason I am trying this is that it appears to me that to merge changes from a baseline using the EA GUI, you have to merge one by one. The Merge to Model button in the Compare Utility screen is only enabled when you click on a single change.

This becomes a very tedious job if there are many changes, so I wanted to be able to merge everything in one go. Any other options except waiting for the next build (Hopefully)?

Hi guys,

Has anyone successfully retrieved baselines from another DBMS/File than the on you are currently in?

The following code gets the same set of baselines regardless of the value of connctionString, and the set of baselines is from the current  model.

Project project = m_Repository.GetProjectInterface();
String baselines = project.GetBaselines(project.GUIDtoXML(package.PackageGUID), connectionString);

Any help will be appreciated :-)


Automation Interface, Add-Ins and Tools / Estimation factors
« on: May 24, 2012, 06:08:22 pm »
Hi guys,

I have a problem with the estimation factors for the use case points calculation that I hope you can help me with.

Ideally, I would like to be able to specify the ECF and TCF parameters on a per folder basis rather than for the entire project. Realizing that this is not possible in EA, I was thinking about keeping my ECF/TCF parameters in a separate table or file and then do multiple use case points calculations and then just add the individual results. There seems to be two problems with this approach:
1) I cannot find a way to manipulate the ECF/TCF factors using the API. I could of course go directly towards the t_ecf and t_tcf tables, but an API solution is preferable.
2) Also, I cannot find a way to trigger the use case points calculation via the API.

Any ideas? Grateful for any help :-)


Have you heard from Sparx on this issue? I've also tried this feature, but never got it to work as advertised.


Thanks you Geert for a prompt response :-)

I'm not sure I understand how to do it though.

It appears to me that the audit trail is stored in the t_snapshot table and when I load an audit trail xml file, the individual entries appear in the t_snapshot table.

Are you suggesting that it is possible to zip the xml file and insert it into t_snapshot?


Hi guys,

The Repository object has methods for saving and clearing the audit trail log, but as far as I can see there is no method for loading an audit trail file.

Any suggestions?


I have not been doing my homework :-)

Just discovered the Exit() method of Repository ...

Pages: 1 ... 3 4 [5] 6