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

Pages: [1]
1
General Board / Variant Modelling - Approach?
« on: December 18, 2014, 05:19:39 pm »
Hi there,

NoMagic Cameo System's Modeller seems to come with basic support for variant modelling. In particular, you can define variation points using standard SysML generalisation relationships, then create an instance model - which launches a wizard - and allows for selecting the appropriate parts, capturing the result in a new diagram.

Then, you can view the result as a tree-style diagram (Instance Map), which is akin to a basic feature model.

A quick overview of the process is here:
http://blog.nomagic.com/model-variants/

The question is: how can I replicate this in EA?


2
General Board / Re: Difference between SE edition and SysML MDG?
« on: April 10, 2014, 03:24:34 pm »
Hi Michael,

We use a combination of licenses: 1. Corporate + SysML MDG and 2. Systems Engineering edition.

I can't comment on features of Pro - but if you're looking at just pure SysML modelling, there's no real difference I can discern. Indeed, some team members use (1), others (2) and the model seems happy...

Regards,

Damien.

3
Bugs and Issues / Re: EA11 Trial - Missing Dialogs?
« on: April 28, 2014, 04:27:54 pm »
Okay,

User error - I had selected 'Systems Engineering' workspace on initially running the EA trial wizard. So that removed the documentation options.

To get it back, I went:

Right-clicked the menu bar, selected Workspaces and Commands, then clicked the Commands Tab. Selected 'Complete'.

Ah, the fun of playing with new things!  :-[

4
Bugs and Issues / EA11 Trial - Missing Dialogs?
« on: April 28, 2014, 03:24:36 pm »
Hi there,

I have downloaded the EA11 (formal release, not RC1 or 2) today to explore some of the supposedly improved documentation features, such as web reports.

When right-clicking on a package, Documentation only reveals 'Open in Relationship Matrix' - there are no other options.

There's also nothing under Project > Resources.

In short, seems like I am missing quite a few menus! I started the Trial Edition and selected Systems Engineering edition. I have used these features previously in EA10, although with a full license.

What am I missing?

5
Thanks Aaron B - that was the bit that was missing! I had the elements defined as EA.Collection, but had omitted the set keyword.

Finally, the SQL query ran fine. I could return the ID and other values without any problems (in this case, the name of the element.)

Thanks,

Damien.

6
Quote
Hi,

One you might want to add into your book qwerty - see response from Sparx re this:

Hello Jon,

Thank you for your enquiry.

Try using Repository.GetElementSet() instead of GetElementsByQuery.

Hi there,

I flagged this thread last year when I was experimenting with scripts that would run SQL queries against our model. I found a curious result and wonder if it is a bug?

In our project we've been using VBScript as the language of choice. I wrote a simple query (returning CLASSGUID, CLASSTYPE, Object_ID, name from t_object...) and pass that into GetElementSet

Code: [Select]
dim elements as EA.Collection
elements = Repository.GetElementSet(sql,2)

This fails with the error: Argument not optional.

So I then recrafted the script as a JScript one:

Code: [Select]
var elements as EA.Collection
elements = Repository.GetElementSet(sql,2)

This works as expected. Can anyone else confirm?

This is using EA 10, Build 1006.

Regards,

Damien.

Pages: [1]