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 ... 57 58 [59]
871
Automation Interface, Add-Ins and Tools / Re: EA does not see add-ins
« on: September 27, 2012, 11:40:14 pm »
Hello,

have you inserted the current registry entries for EA and your *.dll in the installation project?
If your source file has a new assembly version you have to update the registration of your DLL.

The typical questions are:
- EA registry entry for Addin
- DLL registry entries are up to date
- Errors during installation, administrator rights

Kind regards,

Helmut

872
Hi,

thanks for your advice.

I'm interested in knowing what performance improvement I can expect in practice.

Currently I see no major improvements in everyday work (slow VPN connection). With long lasting operations like "Get all Latest" I see a measurable and significance  improvement of around 50%. But these measurements are only snapshots.

I would like to know if there are any reliable informations.

Thanks,

Helmut

873
Hi,

are there any experiences about performance of the EA WAN Optimizer in a MS SQL Server Environment.

Thanks,

Helmut

874
Automation Interface, Add-Ins and Tools / Re: Relationship matrix profile
« on: September 19, 2012, 02:16:19 am »
Hi Knut,

to my knowledge it's not possible to transfer them between projects.

That's somehow logic because the packages used in the source project are usually not available in the target project. A Package isn't identified by it's name but by it's GUID.

According to my understanding the Relationship Matrix should be stored somewhere in the project (e.g.*.eap file).

You can check this by project transfer (Tools, Datamanagement, Project Transfer).

Maybe there is someone with experience.

Good luck,

Helmut


875
Hi,

to the subject of EA DB see the following search for some databases. It searches some conveyed flows for a connector.
Helmut


SELECT DISTINCT o.ea_guid as CLASSGUID, o.Object_Type as CLASSTYPE,
 o.name As Item, o.Object_Type As ItemType, o.stereotype As 'ItemStereotype', "Connector" As ConnectorType, c.Name, c.Stereotype
 
FROM t_object o,
          t_xref xCon, t_xref xFlow,
          t_connector c,
    t_connector flow
where
  c.connector_ID = <Search Term>
and   c.ea_guid = xCon.Client
and   xCon.Behavior = 'abstraction'
and flow.ea_guid in
(
#DB=SQLSVR#             substring(x.description,0,39),
                                      substring(xCon.description,39,39),
                                      substring(xCon.description,78,39),
                                      substring(xCon.description,117,39),
                                      substring(xCon.description,156,39),
                                      substring(xCon.description,195,39),
                                      substring(xCon.description,234,39),
                                      substring(xCon.description,273,39),
                                      substring(xCon.description,312,39),  
                                      substring(xCon.description,351,39)
#DB=SQLSVR#    
#DB=Other#                left(xCon.description,38),
                                      mid(xCon.description,40,38),
                                      mid(xCon.description,79,38),
                                      mid(xCon.description,118,38),
                                      mid(xCon.description,157,38),
                                      mid(xCon.description,196,38),
                                      mid(xCon.description,235,38),
                                      mid(xCon.description,274,38),
                                      mid(xCon.description,313,38),  
                                      mid(xCon.description,352,38)
#DB=Other#  
  )
AND         flow.ea_guid = xFlow.client
AND         o.ea_guid in  
(
#DB=SQLSVR#             substring(xFlow.description,0,39),
                                      substring(xFlow.description,39,39),
                                      substring(xFlow.description,78,39),
                                      substring(xFlow.description,117,39),
                                      substring(xFlow.description,156,39),
                                      substring(xFlow.description,195,39),
                                      substring(xFlow.description,234,39),
                                      substring(xFlow.description,273,39),
                                      substring(xFlow.description,312,39),  
                                      substring(xFlow.description,351,39)
#DB=SQLSVR#    
#DB=Other#                left(xFlow.description,38),
                                      mid(xFlow.description,40,38),
                                      mid(xFlow.description,79,38),
                                      mid(xFlow.description,118,38),
                                      mid(xFlow.description,157,38),
                                      mid(xFlow.description,196,38),
                                      mid(xFlow.description,235,38),
                                      mid(xFlow.description,274,38),
                                      mid(xFlow.description,313,38),  
                                      mid(xFlow.description,352,38)
#DB=Other#
)
UNION
SELECT DISTINCT o.ea_guid , o.Object_Type ,
 o.name,  o.Object_Type, o.stereotype, "Information Flow", c.Name, c.Stereotype
 
FROM t_object o,
          t_xref x,
          t_connector c
where
        x.client = c.ea_guid
and   x.Behavior = 'conveyed'
and  c.connector_ID = <Search Term>
and  o.ea_guid in      (
#DB=SQLSVR#             substring(x.description,0,39),
                                      substring(x.description,39,39),
                                      substring(x.description,78,39),
                                      substring(x.description,117,39),
                                      substring(x.description,156,39),
                                      substring(x.description,195,39),
                                      substring(x.description,234,39),
                                      substring(x.description,273,39),
                                      substring(x.description,312,39),  
                                      substring(x.description,351,39)
#DB=SQLSVR#    
#DB=Other#                left(x.description,38),
                                      mid(x.description,40,38),
                                      mid(x.description,79,38),
                                      mid(x.description,118,38),
                                      mid(x.description,157,38),
                                      mid(x.description,196,38)

876
Automation Interface, Add-Ins and Tools / Call Addin from VB script
« on: August 15, 2012, 10:02:18 pm »
Hello,

is there a simple way to call an Addin from VB Script?

Thanks in advance,

Helmut

877
Automation Interface, Add-Ins and Tools / Re: virtual document
« on: July 31, 2012, 01:05:16 am »
Hi,

have you looked in the example model (Help, Open Example Model), package Reporting?

Kind regards,

Helmut

878
Automation Interface, Add-Ins and Tools / MDG Visual Studio and C
« on: July 28, 2012, 03:23:16 pm »
Hello,

has someone experiences in Visual Studio and C?

We are planning to use this but I'm not sure if it really works.

Thanks in advance,

Helmut

879
Hello Thomas, Hello Geert,

thanks a lot!

I have my workaround and I will post a bug report.

Kind regards,

Helmut

880
Hi,

thanks a lot. Looks simple but I wasn't aware of it.

Kind regards,

Helmut

881
Hello,

I have a Composite Structure Diagram with a class and two parts inside the enclosing class. The two parts are connected by a flow or a connector. The flow is selected and the addin should return the flow after calling GetContextItem. It returns the enclosing class instead.

Without the enclosing task everything works as expected.

Thanks,

Helmut

882
Hi,

it's worth reading it. My suggestion is to also read the e-book InsideEA. Some advanced features are only to accomplish by using SQL.


Enjoy reading and trying it,

Helmut

883
Hi Paulus,

I attach an example in C#. It works and I use this snippet to attach a linked note to a diagram object.

                        EA.Element el = (EA.Element)Repository.GetContextObject();
                        EA.Package pkg = Repository.GetPackageByID(el.PackageID);
                        if (pkg.IsProtected || dia.IsLocked || el.Locked || dia == null) break;

                        // save diagram
                        Repository.SaveDiagram(dia.DiagramID);
                        
                        EA.Element elNote = null;
                        try
                        {
                            elNote = pkg.Elements.AddNew("", "Note");
                            elNote.Update();
                            pkg.Update();
                        }
                        catch { break; }

                        // add element to diagram
                        // "l=200;r=400;t=200;b=600;"

                        // get the position of the Element
                        EA.DiagramObject diaObj = null;
                        foreach (EA.DiagramObject dObj in dia.DiagramObjects) {
                            if (dObj.ElementID == el.ElementID)
                            {
                                diaObj = dObj;
                                break;
                            }
                        }
                          int left = diaObj.left + 2*(diaObj.right - diaObj.left);
                        int right = diaObj.right + 2 * (diaObj.right - diaObj.left);

                        string position = "l=" + left.ToString() +";r=" + right.ToString() + ";t=" + diaObj.top.ToString() + ";b=" + diaObj.bottom.ToString() + ";";
                        EA.DiagramObject diaObject = dia.DiagramObjects.AddNew(position, "");
                        dia.Update();
                        diaObject.ElementID = elNote.ElementID;
                        diaObject.Update();
                        pkg.Elements.Refresh();

Other ressources are:
- Online Help EA (examples)
- E-Book ScriptingEA from Thomas Kilian

Kind regards,

Helmut




884
Hello Geert,

thanks a lot. I just found the solution. I think a hidden method.

It works!

Kind regards,

Helmut

885
Hello,

I wanted to use the undocumented function Repository.Execute(..). I can't see it with Visual Studio. The other functions are available. In the Object Catalog it's marked gray as opposed to black for the other methods.

Is there a special trick to use this function?

Kind regards,

Helmut

Pages: 1 ... 57 58 [59]