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 - Robert Sheridan

Pages: [1] 2 3 ... 7
1
Thanks Simon, did not spot that this had been added in to the API since I last did this (reusing old code).
Robert

2
Thanks Qwerty, have been reading your book and that was where it was leading me.
Free uptick: the books have been very useful, very good investment.

3
Hello all,
I am wanting to use the API to extract the profile used to set the stereotype for an element.  I can get the stereotype but have not found anything in the API that gives me the profile, does anyone know how to do this.

Thanks

4
Currently can not tell visually what has been selected e.g. whether header row is on or off, other than by running a report.  It would be great if there was a tick against the item if it had been selected (there is space in the GUI.

5
General Board / Re: Import relationships from Excel via a matrix
« on: April 01, 2015, 12:39:47 am »
I do exactly this using VBA.  You can write a utlity that goes along each row and for each cell checks for existing connectors and either creates or deletes depending on the contents of the cell.  You can use overlays in this process.
You can export as well as import the matrix which makes it very useful for bulk updates.
I can share the code if it would be useful

6
General Board / Re: Relationship Matrix and traceability
« on: February 27, 2015, 12:07:28 am »
You are correct, the relationship matrix is for direct relationship maintenance. An alternative in the GUI is to use the traceability view - it shows all the connections for a selected element, you can also create it on diagrams for an element at a time using 'Insert Related Elements'.  If you need to get the information in a report and the supplied functionality does not work for you then you may need to use a SQL query as the source for the output.

7
General Board / Re: Newly added connector appears in existing diag
« on: January 27, 2015, 07:23:49 am »
There is a option in the context menu to hide in other diagrams, but the best way to acheive this is to use instances rather than links (see Geerts website for an article on this) then the connections only show where the instance is used.

8
General Board / Re: Exporting CDM from EA to Magic Draw
« on: January 27, 2015, 07:20:45 am »
I have a similar task to do, but going the other way: getting LDM data from ER Studio into EA.  The solution I am going with is using a spreadsheet that is populated using the Sax Basic in ER Studio and then a VBA macro in the spreadsheet to update EA. I am able to export entity GUIDS and relationships between entities so although I can not export the diagrams it gives me all the info to quickly recreate them. If Magic Draw has similar functionality you might be able to use the same approach if XMI does not work.

PS there is a XMI import/export module available, just not to me.

9
General Board / Re: Need a Requirements Management Pattern
« on: January 27, 2015, 03:03:37 am »
One option is to create a diagram for each project / release and drag the relevant reqs o  to it.
A better option is to create a package and instance the relevant reqs under it.
Both these options assume that what you are managing are non functional reqs that are reuse in projects e.g. a definition of a standard file format or GUI design standards.
I would as a general rule not expect functional requirements to be reused.

10
General Board / Re: Requirement Hierarchy
« on: June 05, 2014, 03:36:09 am »
Have you tried using level numbering? You can turn it on for the packages and then include it in your report layouts.

11
General Board / Re: Multiple occurence of component
« on: March 28, 2014, 12:42:36 am »
When there are not many I resolve this by having all the duplicates on one diagram, deciding which is the master and then using the right click functionality to work round each of the duplicates opening in turn the diagrams it appears on and replacing it with the master (i.e. move the links to the master).

When I have done this I make sure that all the data in the actual elements has been replicated to the master.

I then double check that the duplicates are not linked to any other elements and are not on any diagrams and then delete them.

Prior to doing this I make sure I have a baseline / backup in case I screw up.

Do not forget to chastise the relevant people for breaking rule one of modelling: no duplicate elements.

12
General Board / Re: Export to Excel
« on: March 11, 2014, 11:59:16 pm »
Yes you can.  You can do it with VBA from a macro in Excel using the Sparx EA API.  There is a spreadsheet put together by Geert on the community site which you can use as a starter, I think it is for upload but you can use it to understand the API and create extract routines.

13
General Board / Re: Show usage
« on: February 25, 2014, 03:11:23 am »
I am not sure what you mean as a element should only appear once in a model.  I am assuming you are wanting to know all the other elements a particular element is associated with.

An easy way would be to use a RTF report as it can output all the classifiers and also list all the connectors to and from an element.

14
General Board / Re: importing XPDL
« on: February 25, 2014, 06:14:07 pm »
Thanks, if I come across any solution I will post it.

15
General Board / importing XPDL
« on: February 25, 2014, 02:34:08 am »
Has anyone any experience of importing XPDL into Sparx or converting Sparx XMI to XPDL?

Thanks
Robert

Pages: [1] 2 3 ... 7