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.


Topics - Helmut Ortmann

Pages: [1] 2 3 ... 7
1
Hello,

the Add-In reads from its own *.eap file via ODBC/OLEDB. Everything fine until recently.

Since some time I get errors  (System.Data.OleDbException (0x80004005), the database couldn't be opened) if the *.eap file is checked out with Clear Case. Without ClearCase checkout everything works as it should.

Any ideas?

Thanks,

Helmut

2
Hello,

I tried to use a Relationship Matrix with a VBScript of Type Search Group to estimate the e.g. Target Requirements. The Search Script works fine and has the usual navigation possibilities of the Search Results (select in Browser, Diagram). It shows the wanted Requirements as expected. In combination with Relationship Matrix it doesn't work.

Is it possible that such Searches don't work with Relationship Matrixes? I remember something about limitations of e.g. Add-In Searches but I'm not sure.

Other Searches like SQL are working fine.

Has someone experiences in this area?

Thanks for your help,

Helmut

3
Hello,

I have in some Class-Diagrams a peculiar behavior of Labels.

The labels of Port or Required/Provided Interface are not moveable, hidable and not selectable. If I add a new Port the same behavior.

I can't draw associations, dependencies. If I draw a link it isn't selectable.

Any idea?

Thanks in advance,

Helmut

4
General Board / Show provided/required Interface for Port
« on: October 28, 2018, 01:31:25 am »
Hello,

is there a possibility to show the provided/required interface for a Port? With EA 14.

I can drag the provided Interface onto the Port. I'm more thinking about visualizing all provided/required interfaces for a Class/Component. As far as I remember there was an easy way in past releases.

Thanks in advance,

Helmut

5
Hello,

I come across that registering of an Add-In usually works without bothering about .net signing in C#.

Last time I couldn't register an unsigned DLL with EA to use as GUI/COM object in the Add-In window. After signing everything runs smooth.

In debug mode of VS 2017 everything runs smooth, regardless of signing or not. So, I'm a bit puzzled.

The thing is: In the past, everything works fine with a lot of Add-Ins, regardless of signing or not. I've searched a lot and I've found a lot about the signing of dlls, no silver bullet.

Any idea?

Thanks,

Helmut

6
Hi,

with EA 13.5.1 it looks as if 'Search Folder' in the 'Model View' can only be defined for Build-In Searches.

In previous versions this was also possible for own searches or MDG searches.

Kind regards,

Helmut


7
Hello,

I am trying to develop an Add-In Search with C# according to http://sparxsystems.com/enterprise_architect_user_guide/13.5/automation/add-in_search.html.

The Add-In works correctly but EA doesn't recognize the Add-In Search. I would expect to see the Search in 'Find in Project' category Addin. Nothing shows up.

I tried the following signatures and checked it in the DLL with ildasm.exe. The methods are public methods in the Add-In Class.

Signatures:
- public string AddInSearchSample2(EA.Repository repository, string searchText, out string xmlResults)
- public string AddInSearchSample2(EA.Repository repository, string searchText, ref string xmlResults)
- public object AddInSearchSample2(EA.Repository repository, string searchText, out string xmlResults)
- public object AddInSearchSample2(EA.Repository repository, string searchText, ref string xmlResults)


Has someone experiences, examples or ideas?

Thanks,

Helmut

8
Hello,

I try to auto name newly created  Requirements with the EA Broadcast Event 'EA_OnPostNewElement'. It mostly works as expected.

When I add requirements, e.g. Functional Requirments, with the Specification Manager EA don't send the Broadcast Event 'EA_OnPostNewElement'.

Any idea?

Thanks for your help!

Helmut

9
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

10
Hi,

Is there a possibility to visualize for an action of type "accept event" the associated trigger, signal,...?
"Send signal" action is quite intuitive by visualizing the signal as type.

Well, I can drag the signal or trigger to the canvas and make a dependency or so.

Kind regards,

Helmut

11
General Board / Show type of call behavior action
« on: December 13, 2016, 06:22:53 pm »
Hi,

Is it possible to show in an Activity Diagram the type (the Activity called) of the Call Behavior? It should appear as usual 'name:type'. I tried a lot and found nothing.

Thanks,

Helmut

12
Hi,

the EA Example model has the media player to explain SysML concepts with EA.

The IBD shows for a property '<name> / <type>' like ' cpu / Processor - TMS320VC5507'. I would expect simple the name like 'cpu'.

If a select 'show element type' than I see the type with the well known ':' like ' cpu / Processor - TMS320VC5507:Processor - TMS320VC5507'.

How does that come and is there a possibility to switch it off.

Thanks in advance,

Helmut


13
General Board / Modelica: initial equation
« on: December 12, 2016, 12:12:20 am »
Hello,

is it possible to define a Modelica 'initial equation' (SysML)?

Thanks,

Kind regards,

Helmut

14
Hi,

Editing properties in SysML are no fun. In essence, they are similar to attributes/values.

It would be a good idea to edit them like attributes.

Kind regards,

Helmut



15
Automation Interface, Add-Ins and Tools / TaggedValue types in profile
« on: October 30, 2016, 10:26:53 pm »
Hi,

I want to integrate TaggedValues types in my profile. It works fine but the profile don't contain the tagged value types.

If I've read the documentation correctly used TaggedValue Types are automatically put into the profile. The xml contains TaggedValueTypes but they are empty.

Is there a trick?

Thanks,

Helmut

Pages: [1] 2 3 ... 7