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

Pages: [1] 2 3 4
1
Does anyone know if it is possible to add comments to document templates to help others understand what the template is doing?

Basically, I want a way to add text to the template that will not be exported into the final document...

Thanks!

2
Automation Interface, Add-Ins and Tools / Understanding OCL
« on: May 25, 2017, 08:13:22 pm »
I'm interesting in writing OCL expressions to help me apply my own model validation rules to my custom MDG Technology...

Can anyone recommend any good resources to help me get started? I have found a few generic tutorials on OCL on the web which explain the syntax. But I am not really sure how I actually use them in EA. Does anyone know of any tutorials that show how it can be used?

Thanks

3
Matrix specifications currently only allow source and target packages to be specified. The ability to also define source and target searches would allow more control over relationship matrices

See original thread: http://sparxsystems.com/forums/smf/index.php/topic,37982.0.html


4
Uml Process / Matrix Specifications & Searches
« on: March 01, 2017, 09:25:18 pm »
It is possible for a relationship matrix to use searches to find elements for its columns and/or rows.



It is also possible to create matrix specification elements that can be used to load a relationship matrix with a particular matrix profile.
However, when these elements are created there seems to be no way to specify a particular search for it to run: you can only specific particular source and target packages.



Does anyone know if there is a way to use a matrix specification element to load a matrix specification with a particular model search enabled?

5
Has anyone found a way to create a document template that exports a relationship template to Word? I can get EA to print out a JPEG of the matrix easily enough but this is totally useless because it is so tiny as to be completely illegible. Does this require some kind of Ninja SQL skills?

Obviously there's the CSV export option from the Relationship Matrix itself but this has its own problems because it only outputs the names of the elements and none of their detailed attributes such as their notes.

I am performing requirements traceability and am amazed that this functionality seems to be so lacking!

6
Can you add tagged values to custom diagram types using an MDG Technology?

I have successfully added tagged values to model elements by creating attributes on the stereotype in the profile. When I try the same trick with a diagram it doesn't seem to work.



Has anyone managed to do this?

7
Uml Process / Satisfy Dependency Stereotype behaviour
« on: January 16, 2017, 07:36:17 pm »
When I create a satisfy relationship between a block (as the source) and requirement (as the target), using the SysML 1.3 toolbox, EA applies the following stereotype: «sysML1.3::satisfy»

This seems to be the only relationship from the Requirements Toolbox that has this behaviour. All other relationships are rendered with they stereotype name only (no mention of the version of SysML they are taken from. Does anyone know why this happens and how it can be turned off?

If I turn off the SysML 1.3 MDG and enable SysML 1.4 then the problem seems to disappear but I don't want to change to SysML 1.4 if I can avoid it as we are mid-way through a project.

8
Automation Interface, Add-Ins and Tools / Headers and Footers
« on: January 04, 2017, 02:51:03 am »
In which RTF Template(s) should I create my headers and footers when generating documents?

Presently, I have created them in my Cover Page only. When I generate the document, the cover page contains them, but none of the subsequent pages do... what am I doing wrong?

Using EA13 but still constructing documents using the Master Document (rather than Report Package) element

9
Uml Process / Find and Replace
« on: December 23, 2016, 12:03:03 am »
Is there any way to perform a find and replace for a text string within the "Notes" of an element?

Any of you scripting gurus got any suggestions if not?

Thanks!

10
Does anyone know how diagram fragments can be used to display diagrams in a a virtual document?

I can create an SQL query to find the package that contains the diagram easily enough... but I then need to display the diagram image for the diagram that is located inside the package.

Do I need to return a specific field from a table in the database? If so, which database table actually stores the image?

11
Automation Interface, Add-Ins and Tools / Nesting Master Documents?
« on: December 02, 2016, 12:29:01 am »
I am creating a virtual document using a «master document» package containing a series of «model document» elements. I'd like to be able to group these model documents to allow me to control the structure of the document more easily. Is it possible to nest, or combine two separate «master document» packages into a larger document?

Thanks!

12
Can anyone suggest an SQL query that would be able to link a message on a sequence diagram to the actual operation on the block which classifies the lifeline.

The connector that represents the message the diagram has the same name as the operation, but... It also has parenthesis after the name. This means that trying to do an SQL JOIN statement doesn't work, since the name of the actual operation excludes the parentheses.

I'm no SQL guru so there might be a clever way to construct the query... Or perhaps there is another table with the info...?

13
Let's say I have two diagrams and want to export them to a document.

Diagram 1 has blocks A and B
Diagram 2 has blocks A and C

I want to construct a template that outputs the "notes" from each block underneath each diagram. But, ideally, I only want to export those notes once.

So, when the exporter gets to Diagram 2, it only outputs the notes from block C (because it previously exported block A)

Does anyone know of any sneaky ways to get EA to do this? Some kind of script that keeps track of the number of times an element has been found during the export process before?!?

14
Uml Process / Hyperlink updating
« on: November 23, 2016, 10:09:46 pm »
Let's say I have two blocks:

Block A and Block B

I want to create a cross reference in the notes of Block A that references Block B. For example "This Block is supplied by power from Block B". If I happen to change the name of the Block B to "Block C", then I want the name to change in any notes that include a cross-reference to it, in much the same way as is possible in MS Word. So my note would become: "This Block is supplied by power from Block B"

I had hoped that using hyperlinks to elements would achieve this, but (unless I'm doing something wrong) once a hyperlink is created, it does not change its name if the element that it links to has its name updated

Is there some other way of achieving this or is the only way to write some kind of script?

15
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  ???

Pages: [1] 2 3 4