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
1
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  :)

2
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: http://sparxsystems.com/forums/smf/index.php?topic=12845.0.

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


3
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 ()

Geert

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

4
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.

5
Hello,
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.

6
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 http://community.sparxsystems.com/tutorials/552-24intro-to-creating-a-mdg-file 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 https://www.sparxsystems.de/ressourcen/uml-profile/.

It does not contain the shape for system landscape modeling.

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

8
Nobody has an idea?

9
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.

10
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.

11
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.

12
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.

13
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.
/U

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.

14
So I need to get it from somewhere?

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

15
I am still getting the 0x80040154 exception.

The environment is a follows:
- The code gets started inside Eclipse
- Eclipse is run with Java 64 bit.
- Eclipse runs Java code with 32 bit (it says "<terminated> Explore [Java Application] c:\Program Files (x86)\Java\jdk1.8.0_112\bin.javaw.exe).
- I set the classpath via project > Properties > libaries > Add External JARs
- I set the dll path via adding it to "Native Library Location" of the classpath-enty.
- I left eaapi.jar and SSJavaCOM.dll in the sparx JAVA API directory.

The exceptions comes as soon as I call "new Repository".

Is the reason because the libraries are not located in windows\system32 ?

Many thanks in advance, V.


Pages: [1] 2 3 ... 15