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

Pages: [1]
1
General Board / How to re-group templates?
« on: May 23, 2014, 06:13:37 pm »
Hi all!

Just a simple question, is it possible to regroup (rearrange) existing templates according to the already defined set of template groups?

Lars

2
General Board / Re: Simple procedure to change connector types?
« on: February 05, 2013, 12:41:59 am »
Thanks! Solved the problem.

Lars

3
General Board / Re: Simple procedure to change connector types?
« on: February 04, 2013, 07:32:22 pm »
Thanks for your replies!

Scripting is possible! Though, this leads me on to yet another issue. I have a VB-script today, which establishes connectors between two elements (free of choice).

This script worked just fine before I updated to EA version 10. The type of connector is configured to be set to Dependency (trace), but is now instead defined as Abstraction (trace).

I use the following syntax:
set elementConnector = source.Connectors.AddNew ( "elementConnector", "trace" )

Any thoughts?

4
General Board / Simple procedure to change connector types?
« on: February 02, 2013, 01:40:33 am »
Since I'm required to change the type of connector between a large set of functions and requirements I'm searching for a simple (fast) procedure to accomplish the task.

I'm familiar with the relationship matrix, and have found the built in export function. But is there a similiar way to import connectors and at the same time change the type of connector from e.g. Depencency (trace) to Realization?

5
Bugs and Issues / Re: Element types and stereotypes issue
« on: February 23, 2013, 02:08:38 am »
Hi!

Not from what I know, but that could be one solution (at least for me).

Using the _metatype attribute I can make all my Activities appear as Functions in the relationship matrix. That's possibly even better than before, since what I'm actually trying to model is system functions and not activities.

Great many thanks!

6
Bugs and Issues / Element types and stereotypes issue
« on: February 15, 2013, 06:50:07 pm »
Hi!

I've been using a profildefinition to apply a "Function" stereotype to elements of type Activity. The profile simply defines a set of attributes which should apply for the element as such.

It's all been working fine! But now all the sudden i recognize that a number of the elements, that previously have been configured as type Activity and with stereotype Function, now lists in the properties dialog as Function (type) with Function (stereotype).

This issue is especially obvious when using the Relationship matrix, since all the concerned elements no longer appear in the list when I choose Activity-elements. Logically, when i swithc to Function-elements the rest of them appear...

I've been trying VB-scripts to list the type of element for all concerned elements, and from the result I could see that all elements are listed with type Activity.

This is really confusing! Any thoughts?

Lars




7
Automation Interface, Add-Ins and Tools / Help on custom SQL fragment
« on: November 12, 2015, 02:05:06 am »
I'm using a template to simply document all of the types that have been defined in the model. Now I want to add information about all of the instances (properties) that each type classifies. The relation between the elements is to be considered part to property type.

My approach so far has been to add a template fragment, that for each type, performs a SQL query (using a custom SQL fragment) to list all of the associated properties.

Any thoughts on how to formulate the SQL query, or by the way, is there any another way that does not involve SQL queries?

8
Hi all!

I'm aware that it is possible to filter upon type of connection (e.g. dependecy or association) when generating documents. But how do I filter on certain connection stereotype?

Consider e.g. that I want to leave out dependecy with stereotype <<trace>>, and include depencedy with stereotype <<satisft>>.

Lars

9
Is there some efficient way to determine if a specific element is part of a Collection? By efficient I refer to a way in which I can avoid the process of looping through the collection comparing each and every element.

What I'm trying to achieve is to determine if a requirement exists in a diagram using VB-script.

Lars


10
Hello everyone!

I'm using one of the pre-defined search questions that comes with UPDM 2.0 in order to generate the MODAF OV-3 (Operational Information Exchange) view.

The SQL-question is formulated accordingly and for a start it works out well:
Code: [Select]
SELECT '«'+t_connector.Connector_Type+'» ' As Flödestyp, '«'+Conv.Stereotype+'» '+Conv.Name AS Informationsobjekt, '«'+Prod.Stereotype+'» '+Prod.Name AS Avsändare, '«'+Cons.Stereotype+'» '+Cons.Name AS Mottagare FROM t_connector, t_xref, t_object AS Conv, t_object AS Prod, t_object AS Cons WHERE t_connector.Connector_Type='InformationFlow' AND t_xref.Client=t_connector.ea_guid AND t_xref.Behavior='conveyed' AND t_xref.Description=Conv.ea_guid AND t_connector.Start_Object_ID=Prod.Object_ID AND t_connector.End_Object_ID=Cons.Object_ID ORDER BY Prod.Name, Cons.Name

My concern is how to get hold of the attributes (and their values) that are defined for the elements that are conveyed on the above selected connectors (InformationFlow), any ideas?

Lars

Pages: [1]