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 - Geert Bellekens

Pages: [1] 2 3 ... 574
2
You should be able to do something like this:

Code: [Select]
      EA.Repository r = new EA.Repository();
      r.OpenFile("c:\\eatest.eap");

See also: https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/automation/automation_connect_setup.html

Geert

3
General Board / Re: Are spammers the main users of this forum?
« on: December 08, 2018, 01:25:47 am »
There is a filter, but it is falling behing in the arms race against the spammers.

Geert


4
General Board / Re: Recover my licence
« on: December 08, 2018, 12:18:21 am »
He should not try to recover it, you should simply enter it again.

I suppose the actual key must be registered somewhere in the administration no?
It is usually sent by email when purchasing EA.

Geert

5
EA now uses a docked window to edit the attributes.
You migh have hidden (or minimized) the window.

In 14.1 there is also an option to get the features popup dialog back instead of the docked window.
See Start | View | Visual Style | Prefer Property Dialogs

(F9 also works for opening the attributes of an element)

Geert

6
What you call "Directory" is a Package I guess?
A package is a bit of a weird object. Each package (except for root packages) has a EA.Element as well. So there are two objects in the API that represent one thing.
You are now looking at the EA.Element portion of the package, and the diagrams are found in the diagrams collection of the Package object.

So you'll have to use Repository.GetPackageByGUID, and check the Diagrams collection of the Package object.

Geert


7
You will have to reference the EA object library.
The type Element is defined there.

Geert

PS. to be honest, think I would use an SQL query in EA rather than a VBA script in Excel. I think that is much easier, and it definitely is faster.

8
Yeah, ran into that one a couple of times as well.
If you forget to test your script in "run" mode and ship it like that you get complaints from the users saying the script won't work.
Makes you look like a fool. :-\

Geert

9
You can hide the attribute from a diagram, but not from the model.

Geert

10
How can I get the values "0.5" & "Time" from the description. With parsing ?
Yes, you'll have to parse the contents of the xref records to get these values out.
(if indeed there is no way to get to it from the API objects. Since I haven't tested it myself I'm not 100% sure these values aren't available somewhere from the API)

Geert

11
Uml Process / Re: Preprocessor macro file...
« on: December 03, 2018, 09:39:25 pm »
probably using export/import reference data.

Geert

12
Automation Interface, Add-Ins and Tools / Re: Making Add-Ins COM-visible
« on: December 03, 2018, 07:45:04 pm »
Hi Raya

You might want to download my example add-in  from github to figure out what is different in your case.

From what you describe you are doing the right things, so the assembly information tab should be there.

I'm using exactly the same configuration as you, so that is certainly not the problem.

Geert

13
Jörg,

Every association can be modeled as an attribute.
They are actually more or less the same thing.
Create a new attribute and give it the association rolename as name.
Then select the same class as type.
Set the multiplicity if needed (standard is [1..1])

Geert

14
Hi,

I'm not sure what type of export exactly you are using, but I think I would try to replace the association with an attribute.
Not sure if that's going to work, but it's worth a shot.

Geert

15
Can you please elaborate?
What do you mean by "general attribute" and what does "link one or more attribute" mean to you.


Geert

Pages: [1] 2 3 ... 574