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 ... 47 48 [49] 50 51 ... 59
721
Automation Interface, Add-Ins and Tools / Re: EA Addin Key Shortcut
« on: January 13, 2014, 07:12:47 am »
Hello,

as far as I know there is no way to define a shortcut for an Addin.

What you can do is: Make an Addin which uses the AddinWindow. Then you are only one click away from your Addin action.

To do this is to make your Addin an ActiveX Control (OCX). Geerts Navigator is a good example.

Helmut



722
Hello,

with the simple Addin I think it isn't possible.

You may develop your Addin as an ActiveX Addin.

Then you have your own window as an EA Window. You are able to make powerful Addins with a reasonable GUI.

Geerts Navigator is in example of this. Also my published Addins us this powerful technology. I think Geert has a simple example from where you can start.

Helmut

723
Hello,

I think there is a thread about this subject in this forum. Try search.

Helmut

724
Hi,

Aarons valuable answer shows that it is always a good idea to make a mini repository with the issue at hand.

Sometimes it turns out that the information you need is somewhere in fields like MiscData. If this is the case you can use the API. But you need to dig or you have someone like Aaron who knows the solution.

Helmut

725
Hi,

an Element contains the Attribut: AssociationClassConnectorID

With this you can in principle solve your problem. In case of a big repository I think the solution will be slow.

If you encapsulate SQL in your Script / Addin your code will be readable and a lot faster. As far as I know you can find a reusable function in the EA community which encapsulates SQL.

Helmut

726
Thanks a lot!

I think I have to drop the subject or use a workaround like Geert.

Helmut

727
Hello,

is there a way to get the selected items of the search window?

Thanks,

Helmut

728
Hi,

Project, Model Import Export, Export/Import Referenced Data
will do the job.

Helmut

729
Automation Interface, Add-Ins and Tools / Re: Add-in Error
« on: July 14, 2014, 07:41:20 pm »
Hi,

I use Visual Studio and I have no problems debugging it. The Express version allows debugging for DLLs only for release 2008. I think there is a patch available to make it work with Visual Studio 2010.

Helmut

730
Automation Interface, Add-Ins and Tools / Re: Add-in Error
« on: July 14, 2014, 06:41:18 pm »
Hi,

I think the problem is somewhere deep in understanding the net framework. The concept of manageable and unmanageable code.

It means: There is manageable code (.net code) and unmanageable code inside your assembly (*.dll).

You may use google to search for:
Mixed mode assembly is  built agains version `v2.0.50727`

In my opinion you use a library which isn't compatible with .net 4. It may be enough to add some configuration information to the code.

May be it's enough to compile it at .net 3.5.

Helmut

731
Hi Dan,

diagramlinks you can hide.

In case of diagramobjects you may try it. I'm sure that there is some kind of workaround to visualize filtered out elements.

My be there is someone who have tried it.

Helmut

732
Hi,

you may set the style of a
  • Diagramlink
  • Diagramobject
via API.

As far as I know there is no special API according to diagram filters.

Helmut

733
Hi,

I didn't catch it.

The copied elements have new GUIDs. That's ok and there is now way around it.

What's with the tagged values (type RefGUIDList)? They should be copied without change.  

Helmut

734
Automation Interface, Add-Ins and Tools / Re: Deleting diagrams
« on: July 15, 2014, 10:38:40 pm »
Hi Clemo,

diagrams are created and deleted in the context of the owned element. Here: Package or Elements may contain Diagrams. Details see at Attribute Diagrams (collection) in the API object reference.

You can add/delete diagrams on the collection of diagrams in Package or Elements. The command is: Delete(short index) or DeleteAt(shortIndex, refresh).

Thomas Kilians e-book ScriptingEA may be a good help to understand and master the EA API.

Helmut

735
Automation Interface, Add-Ins and Tools / Re: Database Sizing
« on: July 14, 2014, 08:23:14 pm »
Hi,

in my experiences 100MB database size is a good starting point.

Helmut

Pages: 1 ... 47 48 [49] 50 51 ... 59