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 - Helmut Ortmann

Pages: 1 ... 4 5 [6] 7 8 ... 59
76
Hi,

I want to set an EA Property like 'ShowConstraints' (EA.DiagramObject) in C# dynamically / by reflection.

For datatypes 'long' or 'string' it works well by e.g.:
diaObj.GetType().InvokeMember("ElementDisplayMode", System.Reflection.BindingFlags.SetProperty, null, diaObj, new object[] { 2 });

On the first view, it looks as if 'true 'isn't correctly translated to the COM 'true'. I tried 1, 255, 65535, -1, ... - no success.

For datatype 'boolean', I can set it only to 'false' but never to 'true'. I tried a lot - no success. According to the documentation, it should work for COM interop. Yes, setting to 'false', 'reading' works well.

One of my tries:
diaObj.GetType().InvokeMember("ShowNotes", System.Reflection.BindingFlags.PutRefDispProperty, null, diaObj, new object[] { (true });

Any idea, experiences?

Thanks for your help.

Helmut

77
Hi Paolo,

I tried it with Actions in an empty *.eap file. Two new Actions, one rectangle and then:
SELECT ObjectStyle from t_diagramobjects

The difference is:
- ImageID=0;UCRect=1;

Hope it helps.

Kind regards,

Helmut

78
Hi,

yesterday I tried it with C# and EA 13 to change the diagram page orientation from P to L and vice versa.

It worked.

Kind regards,

Helmut


79
Hi,

the described procedure also works for VS2017 and EA13.

Helmut

80
General Board / Re: Conectors in activity diagram
« on: May 03, 2017, 02:22:17 pm »
Hello Andy,

thanks for your helpful explanation.

There is always something to learn for me.

Helmut

81
General Board / Re: Conectors in activity diagram
« on: May 01, 2017, 07:54:34 am »
Hello,

as far as I know there is no possibility in EA to make such a connector.

Class Diagrams have the possibility of to 'virtualize connector end' (Right Click on the connector).

I think there are some threads in this forum. You may search for them.

Kind regards,

Helmut

82
Automation Interface, Add-Ins and Tools / Re: Recursive Query
« on: April 21, 2017, 03:21:29 pm »
Hello,

the EA way to SQL is to support a lot of different databases. That's not easy and of course, a lot of opinions how to do it best.

You always can speak to your database directly. You can get a connection string and go from that.

If you want to change the current EA behavior make a change request.

Kind regards,

Helmut

83
Hello,

In the open source project hoTools (see https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki/Port) I have implemented moving Ports and more. As far as I can remember setting Style works. As usual, it takes some time and a bit of tinkering to grasp how to do it correctly.

Maybe have a look at the code and see how it might work.

The books  Scripting Enterprise Architect and Inside Enterprise Architect of qwerty may help you. The good think about these helpers is that he keeps the books up to date.  If you have found something new, send it to qwerty and he'll incorporate it.


Kind regards,

Helmut


84
Hi,

I think I have also observed the behavior you have described.

The best thing would be to make a bug report.

Kind regards,

Helmut

85
Hi,

have you enabled References in the Diagram properties, Tab Element?
(e.g. F5 in Diagram, Element,..)

Kind regards,

Helmut

86
General Board / Re: Interaction occurences in communication diagrams
« on: April 18, 2017, 02:58:43 pm »
Hi,

in EA you can drag a Communication Diagram as an InteractionOccurence from the Browser to the Communication Diagram canvas.  As far as I have seen you can't make a message from or to an InteractionOccurence.

Another possibility is to drag a  Communication Diagram as a Diagram Frame to the communication Diagram canvas. With this, I've managed to create messages. The drawback is that it's, in fact, a little diagram inside a diagram.

I don't know anyone who uses Communication Diagrams.

Maybe someone else has more practical experiences on this topic.

Kind regards,

Helmut




87
Hi,

To avoid the trouble with *.csv, and to make it more convenient hoTools (https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki) supports:
- *.csv to Excel
- SQL search results to Excel

I may in future, like Geert, integrate a wrapper for all kind of EA Searches

Kind regards,

Helmut

88
Hi David,

could you please elaborate a bit on SBVR (Semantics of Business Vocabulary and Business Rules) and your experiences.

Thanks a lot!

Helmut

89
Suggestions and Requests / Re: Hide/Show Connectors
« on: March 30, 2017, 12:13:29 am »
Hi,

the Current Connector toolbar has 'Show and Hide Toolbar (Strg + Umschalt + I)'. The Icon with glasses.

Kind regards,

Helmut


90
Hi,

have a look in Geerts excellent open source software Navigator on GITHub.

There are examples. You'll find classes which very well encapsulate the task.

Regards,

Helmut

Pages: 1 ... 4 5 [6] 7 8 ... 59