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

Pages: [1] 2 3 ... 15
Automation Interface, Add-Ins and Tools / Document Bookmarks
« on: December 14, 2017, 06:16:55 am »
Hello together,

I am still working on my small project creating a report with word by replacing GUIDs with artifacts out of EA (see,38932.0.html).

I identified a potential solution called "Document Bookmarks" decribed in

I followed the instructions and got an exception: "Bookmark undefined".

I did not think about the concept behind it before testing the example. Because the example did not work, I wondered, how Word can know that I mean a diagram in EA with this bookmark. Do I have to prepare Word? Do I have to use a special template (the one which I have to insert with "document file to insert")?

Many thanks in advance, V.

Automation Interface, Add-Ins and Tools / Re: GUID of a diagram
« on: December 11, 2017, 08:59:27 pm »
Thank you very much !!! Thanks also to the learners. I am also here to learn  :)

Automation Interface, Add-Ins and Tools / GUID of a diagram
« on: December 09, 2017, 05:15:24 am »
Hello together,

I thought that finding out the GUID of a diagram without using a script is simple. But it is not. The property field is empty. The question has already been asked, but no answer was given:

Could someody give me the answer, please? Many thanks in advance, V.

Do you want to

(1) retrieve a diagram image from EA and use it in Word, or
(2) get an image from Word and put it in EA?

For the first one you can use EA.Repository.PutDiagramImageToFile ()


I want to do (1). Thank you very much for your help.

I wonder if it possible to retrieve a diagram (as a picture) from Word using the Sparx Object Model. I did not find anything but an addin using the clipboard.

It would be could if no installation would be required.

I am quite sure that it exists already.
I am looking for a script (VBScript), that replaces keyword (resp. appropriate search-statements) in MS Word with Sparx EA diagrams.
In other words, I write a document with Word and add keywords, which will be replaced by diagrams out of EA, as soon as I start the script.
Thank you very much in advance for your feedback, V.

General Board / Re: ARIS notation
« on: October 24, 2017, 08:09:32 pm »
Unfortunately, no. It was developed for a customer. But it was quite trivial. You might use the MDG from my tutorial and create your own shapes for <<process>> and what else you need for ARIS. You can do that even with almost no programming skills. Just remember that the shape is within a 100x100 dimension field. q.

For the sake of completeness: EPC EPK shapes are available as a profile under

It does not contain the shape for system landscape modeling.

I am not able to start EA as administrator. So this cannot be the reason.

Nobody has an idea?

Under 64-bit operating systems, the SSJavaCOM.dll file will need to be copied into C:\Windows\SysWOW64.

In a bit of confusing Microsoft logic under 64-bit versions of Windows, the "System32" directory is for 64-bit applications, and "SysWOW64" is for 32-bit applications.

Thank you, Aaron. I think this is the answer. To set a PATH was the wrong way. Because I am running a 64-bit OS, the dll would be exceuted as 64 bit. That's why it HAS TO be put in SysWOW64 to be executed as 32-bit.

Hello, I will get crazy (maybe it is already to late). Because I did not get the Eclipse / Java example to run, I tried Geert's Excel example. But the script says always that I may have forgotten to start EA or something else is wrong.

What I did is:
- "Install" Enterprise Architect Object Model or EA.tlb respectively via Excel References.
- "Install" Microsoft Word Object Library
- run "ea.exe /register".
- start EA.

Does anybody know if it is necessary to install EA.tlb via regtlibv12.exe?

Any other suggestions? Are any admin-rights required (e.g. to \Windows\System32)?

Is the reason that I use "GetObject(, "EA.App")? What if I start two EA's? Which one will be accessed?

Many thanks in advance, V.

I think we checked all alternatives now. We also checked it from DOS-box with JDK 32-bit. We always get the same error message.

It would have been nice to get feedback from Sparx in this forum. The forum is hosted by Sparx and it should be in the interest of this company to support its customers. Otherwise the EAAPI-"offer" should be shaped to what it is able to do. O.K., maybe the reason is that the library must be located in C:\Windows\System32. But that would contradict the readme.

If I understand 0x80040154 correctly SSJavaCOM.dll cannot link other required dlls. Which are these libraries and where are they? As a precaution I set the PATH to C:\Windows\System32 (because this path was mentioned in the readme), but it did not help.

Could you tell me a good address resp. a reliable supplier, please? I found only hgscc.
Sorry, no. You're looking at a couple weeks work there at least. I could do it but I'd have to charge. 8)
I'm not even sure it's possible. There's a reason Mercurial dropped it in the first place.

I am sorry. I do not understand. I asked if there are "suppliers for SSC for Mercurial" and you answered "many". Then I asked if you could tell me a reliable supplier and you answer that there would be a lot of work to do. I am just looking for a SSC interface which can be used for Mercurial.

So I need to get it from somewhere?

Could you tell me a good address resp. a reliable supplier, please? I found only hgscc.

Pages: [1] 2 3 ... 15