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

Pages: [1] 2
1
General Board / Disable Default Line Styles
« on: January 28, 2015, 10:21:12 pm »
Hi,

I am using a Activity Diagram. When I add connectors between Activities, the line style is LV (lateral Vertical) by default. I then change them to Custom (C) in order move them around to fit appropriately within my page.

The problem is that when I add a new connector, all the connectors change to LV again and I need to change all of then back to C and reposition them.

Is there any way to disable the default line style, so that when I add a new connector my current connectors will not change?

Thanks,
Minna

2
Bugs and Issues / Creating a Second Keystore
« on: June 25, 2014, 05:19:15 pm »
Hi,

I would like to have a keystore for laptop users and a keystore for network users. The laptop users should have a key for 24h (they link to the network early each morning) and them be able to use it off line for the rest of the day. The network users will have the auto check-in setting enabled.

I already have a keystore that is running, but I don't know how to create a second keystore. Please assist.

Thanks,
Minna

3
Uml Process / V12 - Add new package to Version Controlled parent
« on: August 26, 2015, 06:36:22 pm »
Hi,

Here is the scenario: I have a package that is Version Controlled. So I checkout the package and add a new package with a diagram to this Version Controlled parent package.

When following the instructions on the sparx website (http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/modeling_basics/addpackage.html) it says in step 4 that there is a 'Add to version control' checkbox that is selected. This is my ideal solution. However, in version 12 of EA there is no such option / checkbox.

Should I now manually add every new package to the parent package Version Control Configuration? This can become very tedious and I can by accident select the wrong Version Control Configuration...

Any advice?

Thanks,
Minna

4
Uml Process / Objects with unique attributes
« on: September 04, 2014, 11:16:31 pm »
Hi,

I have create classes with attributes that I want to create objects from (with different attributes) that I can use in different diagrams / models.



For example, in 'Diagram1' I want to create 'Helicopter1' (object of 'Aircraft') with ID BYR659, colour green, type Helicopter and wing span 15.8m. In 'Diagram2' I want to create 'Plane1' with different attributes.

How can I do this? I can only change the initial attribute values of the objects, and when I do all the attributes in 'Aircraft', 'Helicopter1' and 'Plane1' and changes.....

Thank you,
Minna

5
Uml Process / Structure Compartment - Alignment and resizing
« on: November 25, 2013, 09:03:10 pm »
Hi,

I see in EA 10, you can draw a nested diagram in a structure compartment (in ex a class) and display it. The nested diagram elements cannot be moved outside the the class, which is great. But when I want to align the class (containing the nested diagram) with another class, my nested elements are found outside the class they are contained in. This also happens when resizing my parent class to a smaller shape.

Is there any way to prevent this? Say for example to lock the nested diagram elements to to parent class?

Thanks,
Minna

6
After struggling for a while (and reading through several posts with loooong queries), here is my answer to the problem  :) :
(this is for sql server)

Search for all the entries is t_xref where the behaviour is conveyed
Select Client, Description From t_xref Where Behavior = 'conveyed'

The Client uid is the ea_guid for the connector:
Select * From t_connector Where ea_guid = '<connector (Client) id here>'

The Description gives all the ea_guids of the items conveyed in the connector: (assuming it is an object like Information Item)
Select * From t_object Where ea_guid = '<conveyed item (Description) id here>'

Note: There can be several conveyed item ids in the Description. The above query only allows 1 to be entered.

So no long queries, but you have to do them one by one. At least now you now know the connection between the tables to get to conveyed items  ;D

7
Automation Interface, Add-Ins and Tools / .eap to DMBS
« on: April 10, 2015, 10:43:08 pm »
Hi,

I have used the Project Transfer tool to transfer my .eap to a DBMS. This works great!

I have a Information Flow between two classes which contains Information Items ('item 1' and 'item 2'). In what DBMS table do I see what Information Items are contained in what Information Flows?

I have found several other useful things like what objects are in what diagrams, what are the start and end objects for all the connectors in a certain diagram, etc. But I haven't found the above mentioned Information Items data. Please help.

Thank you,
Minna

8
Automation Interface, Add-Ins and Tools / Importing Model
« on: November 11, 2014, 11:35:41 pm »
Hi,

I have a .eap project (A) with only one model. I want to import this model into a version controlled .eap project (B) with 5 existing models.

I tried exporting the new model (A) to .xml and .xmi using both XMI 1.1 and 2.1. When trying to import it into the existing project (B), I get a error saying there is an error with code 0x80004005, error description is unspecified.

Am I doing it wrong? Is there an error when I export the model into an .xml / .xmi file?

Thanks,
Minna

9
Automation Interface, Add-Ins and Tools / Type vs Subtype
« on: August 07, 2014, 10:23:54 pm »
Hi,

We are using UPDM 2.0 and have created an OV-2 diagram with Nodes, NodeRoles and Needlines. NodeA (parent of NodeB) contains NodeB (parent of NodeRoleA) which contains NodeRoleA. This NodeRoleA is connected with a Needline to NodeRoleB which is situated in NodeC (parent of NodeRoleB).
 
When running the UPDM model validation, we get a warning that states: MVR800013 - warning (NodeRoleA (NodeRole)): The object does not have a valid type (Permitted values: Node)
 
What is the difference between a Type and a Subtype? Where can we change the Type of NodeRoleA as suggested by this warning?

Thank you,
Minna

10
Hi,

I have UML Classes connected to each other with Information Flows. Each Information Flow has its own unique name and each has a different combination of Information Items added to the Information Flow.

I can easily create a Relationship Matrix to show the connections between the Classes.

My question is this, is there a way to show all the Information Flows with their unique names and Information Items they contain in a table or something?

The result I am looking for is something like a table. Column one would show the Information Flow name, the next columns would show the two classes it connects to, and the last columns would have all the Information Items contained in that Information Flow.

If there is something like this but it is not a table, that would be great to!

Minna

11
Automation Interface, Add-Ins and Tools / Adding elements to diagrams
« on: March 17, 2014, 09:12:30 pm »
Hi all,

I have classes in Excel which I add to EA using VBA (with the help of a tutorial from Geert: http://bellekens.com/2013/04/30/simple-vba-excel-to-ea-importer-v3/

The classes are added to the package, but are not added to a diagram. I can then go and paste them to a diagram as a 'link'.

Is there any way to paste theses classes programmatically to the selected EA diagram? I am guessing that one would need to add the positions of the classes in the diagram.

Thanks,
Minna

12
Hi,

I has 3 classes in my diagram. I have a list of connectors in Excel. I want to add these connectors to EA automatically. I found an article to assist me with adding the relevant code to Excel:
http://www.sparxsystems.com/enterprise_architect_user_guide/9.2/automation/addaconnector.html

To use this code, I need the ElementIDs of my classes. So I wrote the following script in EA.

Code: [Select]
var currentPackage as EA.Package;
      currentPackage = Repository.GetTreeSelectedPackage();
      var packageDiagrams as EA.Collection;
      packageDiagrams = currentPackage.Diagrams;
      
      var myObjects as EA.Collection;
      var currentDiagram as EA.Diagram;
      var currentObject as EA.DiagramObject;
      
      for ( var i = 0 ; i < packageDiagrams.Count ; i++ )
      {      
            currentDiagram = packageDiagrams.GetAt(i);
            myObjects = currentDiagram.DiagramObjects;
            
            for ( var j = 0 ; j < myObjects.Count ; j++ )
            {                  
                  currentObject = myObjects.GetAt(j);
                  Session.Output( "ElementID: " + currentObject.ElementID);
                  Session.Output( "ElementGUID: " + currentObject.ElementGUID);
            }
      }

My question is, how do I display the element name or GUID to make sure I have the correct elements ("Class1", "Class2" and "Class3)? When running the above code, Session.Output( "ElementGUID: " + currentObject.ElementGUID); returns undefined.

Thanks,
Minna

13
Hi,

My 'MDG Technology Import' option in the Tools is greyed out. Is there any way to fix this? What circumstances causes it to be greyed out?

Thanks,
Minna

14
Hi,

I have a collection of information items in an excel spreadsheet. Can I import them into a diagram in EA?

Thanks,
Minna

15
Automation Interface, Add-Ins and Tools / Import connectors from excel
« on: February 27, 2014, 06:14:26 pm »
Hi,

I have several classes in my diagram. I also have an excel spreadsheet with all the connectors between the classes. Thus the in excel contains the source class name, destination class name, connector type (association), and connector name.

Is there a way to import the spreadsheet in such a way that all these connectors will be added automatically to the correct classes in the diagram?

Thanks,
Minna

Pages: [1] 2