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

Pages: 1 2 [3] 4 5 ... 9
31
Uml Process / Re: Message Attributes on sequence diagrams
« on: October 14, 2016, 11:53:07 pm »
Yes, I discovered that re-opening the message updates the name. But I've got a lot of sequence diagrams!

32
Uml Process / Message Attributes on sequence diagrams
« on: October 14, 2016, 09:21:36 pm »
I have a «Signal» element that has an attribute defined

I want to create a a sequence diagram which shows this signal being sent from one lifeline to another, so I have created a message between the two, double-clicked on it, changed the type to asynchronous | signal and using the dialogue box, navigated to the appropriate model element. Once done, EA will auto-populate the "Attributes" section of the message dialogue box with the name of the signal attribute (helpful!)

However, if I subsequently update the name of the attribute of the signal, the sequence diagram attribute does not automatically update (less helpful)

Does anyone know if there is a way to get EA to refresh the attribute names on a sequence diagram. I have already tried reloading it and that doesn't do the trick  ???

33
I have diagrams scattered throughout my model and want to find a way to collect all of these together into a report.

I was hoping to use model searches help in this process and have written a search that finds a list of packages that contain the diagrams I want. I have then created a «model document» that uses this search to find the elements...

From reading one of Geert's tutorials (https://bellekens.com/2015/11/12/tutorial-generate-complex-documents-from-enterprise-architect-with-a-two-step-semi-automated-approach/), I see that the results of an SQL search must be placed in the 'element' section of the model document



I've done some test and have satisfied myself that EA is finding the right packages in the model, becuase I can make it print out the names of the packages into my document...
But I don't know I construct a template that can actually print the the diagrams within the packages.

Help!!!

34
Uml Process / Linking SQL Queries
« on: September 21, 2016, 08:58:20 pm »
EA includes a Model View Element (accessible from the Artifacts toolbox). It allows an SQL Query to be defined and the results displayed on a diagram

http://sparxsystems.com/enterprise_architect_user_guide/12.1/business_engineering/define_a_model_view_chart.html



I have a two questions:
1. Can you access saved searches when using the Model View Element or must you always type the search text in manually?
2. Is there any way to link SQL queries together? That is, can I use the output of one query as the input to another?

35
Suggestions and Requests / Re: Converting Cloud Server to EAP file
« on: September 21, 2016, 12:55:31 am »
I have access to the database - how do I convert to an .EAP file!!?

36
Uml Process / Re: CSV export with notes
« on: September 21, 2016, 12:54:14 am »
You've got my vote

37
Uml Process / Re: CSV export with notes
« on: September 20, 2016, 05:33:11 pm »
I wasn't feeling up to writing my own exporter as Geert suggested. Instead I wrote a small macro in Word to help get round the problem. It searches through the exported content and removes any extra carriage returns from the notes field. It's not well tested but if you want to use it go right ahead!

After adding the macro to a word document
  • Open CSV file in notepad/notepad ++
  • Copy/paste the CSV text into Word file containing macro
  • Run macro
  • Copy/paste modified CSV file into Excel
  • Use Text to columns function in Excel to convert the CSV text into separate columns

Code: [Select]
Sub eaExportFixer()
'
' eaExportFixer Macro
' This macro replaces paragraph markers within the notes field of exported enterprise archtect model elements to allow it to be exported to Excel
'
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
        .Text = "(CSV)([A-z0-9]{1,})(;^13)"
        .Replacement.Text = "\1\2;^l"
        .Forward = True
        .Wrap = wdFindContinue
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchAllWordForms = False
        .MatchSoundsLike = False
        .MatchWildcards = True
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
    With Selection.Find
        .Text = "^13"
        .Replacement.Text = " "
        .Forward = True
        .Wrap = wdFindContinue
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchAllWordForms = False
        .MatchSoundsLike = False
        .MatchWildcards = True
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
End Sub

38
General Board / EA13 Dynamic document generation
« on: September 20, 2016, 05:24:42 pm »
Sparx put this video up on You Tube today: https://www.youtube.com/watch?v=X5MROJ3a8hY

Has anyone got it to work as shown? When I click on the "document" button whilst I have a requirement selected on a diagram, I just get a blank document window. I've tried searching the on-line help for "Dynamic document" but nothing shows  ???

39
General Board / Re: Model Transfer from Cloud server
« on: September 20, 2016, 05:21:41 pm »
Submitted a new feature request

40
Suggestions and Requests / Converting Cloud Server to EAP file
« on: September 20, 2016, 05:21:19 pm »
There is no way to convert a cloud server database to an EAP file. This would help distribute models - including to Sparx Support (I have a problem with my model but cannot send it to you guys!)

Alternatively, please include step-by-step instructions/tools for backing up a cloud server database

41
General Board / Re: Model Transfer from Cloud server
« on: September 15, 2016, 06:39:07 pm »
We are facing this problem now too - at present the only way we have found to reliably backup our database(s) and then restore them is to do a flat-file copy of all the tables in the database.

Sparx: please can you detail the MySQL commands necessary to perform a database backup - we haven't been able to get this to work so far

42
Uml Process / Re: CSV export with notes
« on: September 13, 2016, 12:09:51 am »
Looking at the actual CSV file in Notpad++ as suggested reveals a possible answer!

Code: [Select]
PE-E5751-0342- Motor Demand Data: CRC Invalid;"The Motor shall reject CAN packets and the Motor Demand Data contained within the packet if the CRC within the packets does not match the CRC calculated from the packet contents.

Note: A CRC is included in each CAN packet to provide a means of checking if the packet has been corrupted. This CRC is in addition to the CRC provided by the CAN standard. All Motor Demand Data that is rejected is considered not to have been received. The rejection of the data can therefore lead to  Motor Demand Data Timeout conditions identified in other requirements.";Requirement;{1566C46D-A1D1-41dc-92AA-52B1F79B022D};CSVA9F9E3C9;

It seems that the CSV file that was exported might actually be right and Excel is ballsing it up >:(

43
Uml Process / Re: CSV export with notes
« on: September 09, 2016, 11:31:07 pm »
Seriously?

That is rather disappointing - to put it mildly!

44
Uml Process / CSV export with notes
« on: September 09, 2016, 10:56:04 pm »
I wish to export requirements to Excel and have discovered the CSV export function. I have created a CSV Import/Export Specification and included the element name, type, GUID and notes fields.



Many of my requirements have carriage returns in them.



When these requirements are exported to the CSV file, EA seems to break up the requirement into two separate rows.



I get the feeling from looking through previous postings this is a known issue but I wasn't able to find the solution! :o

45
General Board / Re: mdg profile toolbox
« on: August 20, 2016, 01:21:58 am »
This process may not be supported in EA 9, but in later versions you can define the toolbox by editing the toolbox field within the diagram extension

First, create the stereotype to extend your diagram (using the Add Diagram Extension profile helper - if they are supported in EA 9)

You'll end up with something like this:


Then, edit the toolbox Profile entry and set it to whatever you want. You can set it to an existing toolbox (e.g. SysML) or a custom one


Pages: 1 2 [3] 4 5 ... 9