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

Pages: 1 [2]
General Board / Re: best practice for baseline and target arch models
« on: April 20, 2017, 06:42:34 pm »
I suggest that you have a look at the Time Aware modelling concept recently introduced (EA13 I think but I stand to be corrected). I have used it to track changes to requirements not Archimate elements so you'd need to see if it works for you the way you expect to make changes. Time Aware models certainly save you copying everything over as they use your existing model except for where you introduce changes.

General Board / Re: SysML Requirements - Copy relationship
« on: March 17, 2017, 12:34:24 am »
Not sure if this is the answer, but have you noticed that the SysML text field is "<memo>" and you edit it manually by clicking it on the ellipsis ...? Does you script write into the memo within the SysML1.4 "text" tag or directly into the tag? Hopefully it still has <memo> and the ellipsis after your script. Just wondering whether you are accessing the tag correctly or whether while you are storing the text it's in the wrong place.
Might be worth posting your script (or at least a fragment of how you are accessing the element).
Might also be worth writing a script that just accesses both your script modified element and a manually created requirement to display the text - you should obviously expect the script to display the "text" field value the same regardless of whether your script has written to it or you have manually created a requirement. If they don't then it would start to point at how the script is accessing the tag.

General Board / Re: SysML Requirements - Copy relationship
« on: March 14, 2017, 10:22:52 pm »
Do you really want "copies"? If you have the requirement defined in one package then you can include it in multiple diagrams - Just drag it from the project browser and drop it on each of the diagrams that you want to create using the element. Make sure that you have "link" selected in the Drop As option and you will have one element but used multiple times.

Or have I misunderstood what you are trying to achieve?

It's the same in both EA12 and 13. Ctrl-F9 or (in EA12) Tools - Options from the menu. Select Diagram and in the General box tick "Enable Connector line jumps".
However, not all connectors seem to have semi-circles when they cross! Some types do and others don't on the diagram I have open.

General Board / Re: Time aware models and documentation output
« on: March 09, 2017, 08:42:41 pm »
Thanks for the tip - found that (for anyone else looking, enabling the Diagram - Element section in the document template).
However the Element.Realizes field only reports on realize relationships within the package being reported on and not on external elements. This feels like a bug to me, unless someone can identify the reason for it to behave this way - I'll raise it with Sparx

General Board / Time aware models and documentation output
« on: March 08, 2017, 07:51:53 pm »
Just thinking about using a time aware model, but how do I produce documentation output from the model including both unchanged and changed elements?
In my case I am modeling requirements. I have version 1 defined and generate a Word document for distribution. I have cloned the requirements package. In one diagram I have cloned and modified one requirement.
When I generate my document from the cloned package, the only output is the one modified requirement, because that is the only element within the package from which I am generating the document. Has anyone figured out how to generate a document output that includes unchanged elements (in this case requirements) from the original package where they have not changed and the updated elements from the cloned package where they have changed?

General Board / Re: Glossary Export?
« on: March 01, 2017, 03:08:02 am »
You can export the glossary through a document template, which means you can save it as a document fragment to include:
Create a template
Expand "Model" and select "Glossary"
Right click where it says and insert glossary fields - you'll want at least Term and Meaning; you might want Type.

General Board / Configuring EA 13 to use OpenModelica
« on: February 27, 2017, 08:21:43 pm »
I have installed OpenModelica (the latest version - v1.11.0-64bit). As per the instructions in the EA guide I can locate the omc.exe file. However, in EA the option to configure the location of OpenModelica is greyed out - In the SysMLSim Configuration Manager only the "Select Artifact" option is available and all other options are greyed out, including the key "Configure Modelica Solver" so I cannot define where the OpenModelica EXE file is located.

Has anyone got any tips on why I cannot configure EA to use OpenModelica?

EA is the Corporate edition, with a floating licence and also have the SysML MDG Technology licence installed.

I can also run OpenModelica by itself (outside of EA).

It sounds like you want to use the CSV import - have a read of
If you create the package you want to import elements into and setup the CSV import specification then the elements will be created.

General Board / Re: Default and/or mass label visibility changes
« on: August 15, 2016, 08:10:52 pm »
If you refer to my posting above then, it sounds like two scripts, one to turn the label off and one to the label on would help you. In addition if you want to apply to multiple diagrams then depending on how many, you might want to make the script navigate the model and select all diagrams of the appropriate type.

There is a bit of a learning curve to scripting but it is worthwhile in the longer term.

PS - If you are new to scripting then create a dummy model to learn scripting - get the script working as you want and then use on the master model (and possibly take a copy first as a backup plan).

General Board / Re: Default and/or mass label visibility changes
« on: August 15, 2016, 05:56:34 pm »
You can change them all on a diagram using a script, see which covers this. The script toggles them, but you could change it to always hide the information.

Pages: 1 [2]