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 - babdev

Pages: [1] 2
General Board / Re: How to save SQL search in project?
« on: September 01, 2018, 02:18:23 am »
Thanks Geert. Disappointing that it's not possible to just save them within a project as a resource. 

General Board / How to save SQL search in project?
« on: September 01, 2018, 12:38:43 am »

I'm experimenting with model searches and relationship matrices and have created an SQL search and a Matrix Profile that uses the search. I have found that the profile is available to other users of the same model via the Matrix Profiles node in the Resources view, but the profile can't find the SQL search that I've defined. I'm pretty sure it's because any new search that I create is saved in the 'My Searches' group, which is local to my machine or user profile. How do I create new searches and save them in the project to make them available to other users?


Thanks everyone for the advice, much appreciated.

There are only 4 of accessing the model at present, so I think I'll start with the integrity check and compact options. Also noticed that on the same menu there's an Update EA file indexes option, so I'll also try that to see if it speeds up access times.

General Board / Which EA model repository to use; eap file or DBMS?
« on: July 11, 2018, 08:22:32 pm »

Is there a general rule of thumb for deciding when it makes sense to move from an eap file to a DBMS repository? We're noticing a significant deterioration in performance accessing our file based model and we're not sure whether it's an internal network issue or whether the size of the file is a problem (it's around 200MB in size).

Any guidance would be appreciated.


Automation Interface, Add-Ins and Tools / Re: Creating a profile
« on: July 10, 2017, 06:09:49 pm »
Or it could be a missing menu command. Check the infamous View|Menus and Commands (or whatever is it called now) and make sure you set your menu set to "complete"

That's it! Thanks Geert, would never have found that.  :)

Automation Interface, Add-Ins and Tools / Re: Creating a profile
« on: July 07, 2017, 12:41:20 am »
In my build 1350) it is still just in the context menu under Advanced (ast item)
We're using build 1307, wonder if it's a bug that was fixed in later builds. Can't find the release notes for v13 builds to check  :(

Automation Interface, Add-Ins and Tools / Creating a profile
« on: July 07, 2017, 12:20:48 am »

After creating a new model using the Basic Template in MDG Technology Builder I'm trying to generate the profile XML files. The examples say to "Export your Profile by right-clicking the parent Package of this Diagram in the Project Browser and select 'Save Package as UML Profile...'" but I can't find this option in EA13. I've found it in EA12, under the Advanced... option. Does anyone know where to find it in EA13 or is there a different way of doing it?


Ok, got it now.

Getting the MiscData(0) property and then using it with GetDiagramByID works.

Thanks both  :)

In the according EAElement (t_object) look into MiscData[0] (PDATA1). This holds the DiagramID.


Still having problems with this. Here's what I'm doing:
  • I have created a communication diagram and added some objects and links / messages between them
  • I have created a second communication diagram and dragged the original diagram onto it from the project browser. There are no other objects on this second diagram.
  • I run a script against the second diagram and iterate over the diagram objects. There's one diagram object of objectType 19.
  • I get the Element using the object's ElementID; the Element has Type UMLDiagram. This is all pretty much as expected, however I can't see how to get to the original diagram from this Element. This Element has an ObjectType of 4 and the MiscData property in the Locals window when debugging is set to "Parameter not optional".
Not sure if I've misunderstood where to look for the MiscData.

I'm writing a script to process the contents of a diagram. When I find a DiagramObject of type "UMLDiagram" I want to access the diagram to which it refers, but I can't see how to do it. Any ideas?

This is EA, you know... In case of messages you find everything in the connector itself: Start/EndPoint, SequenceNo, DiagramID, StateFlags. There is no DiagramLink created. That's also the reason why creating SDs with classes leads to to lost messages (they are created only once per element and if you have only one class instead of many instances you loose data - EAUI).


Right, think I understand now. On the communication diagram it looks as if the messages are stored as Connection class instances of type Collaboration.  Not particularly intuitive. Thanks for your help  :)


I'm trying to access details of messages on links between objects on communication diagrams through the scripting interface. My assumption is that the messages, and their ordering, are a property of the diagram rather than the relationships between the elements. I was expecting to find a property or collection of properties holding these details on the DiagramLinks class, but can't see one. Wondering if I've misunderstood this and I'm looking in the wrong place.

Any guidance would be greatly appreciated  :)

General Board / Memo type tagged value isn't displayed on diagrams
« on: June 26, 2017, 07:25:01 pm »
I've been using the memo type of tagged value recently which allows you to use more characters than the standard tagged value, but I've noticed that if you make tagged values visible on elements (I'm using this for Requirements) on a diagram the value is shown as '<memo>'. Is there any way to make it show the actual value of the tagged value rather than '<memo>'?


General Board / Re: Migrating from v12 to v13
« on: June 26, 2017, 07:07:12 pm »
Yes indeed, Sparx has prepared for us an Excel File you can download on their page where you find the old place versus the new place of each command.

Also make sure you have selected the Application Look "Microsoft Office 2016" (Start -> Workspace -> Visual Style) because only then you get the practical and helpful "Find Command" TextBox next to the Ribbons Titles which usually should help you quickly get your command.

Thirdly be advised that the "old" Toolbars are still available, just usually hidden (in case us used them and miss this Access to commands now): click the "Window" Button on the very left of each ribbon, -> Show Toolbar.

Forth recommendation: Try to not resist too much to the new philosophy of the ribbons but to follow what the Inventors had in mind and what is the logics that drove them. It's not to create disorder but to lead from a "what do I have to do" Point of view rather than a "What commands are available" Point of view.

Hope one of those Points helps.
Thanks for your help, some really helpful advice there.  :)

I only recently found the "Find Command" option. I'd seen someone use it at the usergroup event this year so knew it existed but took me ages to find it!

General Board / Migrating from v12 to v13
« on: June 21, 2017, 01:55:18 am »

Just wondered if there's a guide to show where menu items in v12 are now located in v13? Finding it rather painful moving between the two versions right now  :-\



Pages: [1] 2