Book a Demo

Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Thank you for your reply!
If all activities must be defined in the same class as any invoking activity, should all activities be in the same class to permit them to invoke each other?
Separating classes permits grouping of related components, the main value of classes.
I much appreciate your help!
42
I need to rename some items to add guillemets «» to some words.  Imagine my surprise as I went into the Name field of the Properties window and added the left guillemet « to the beginning of the word in question (using the keystroke Alt0171), only to find that the field was cleared and the « was the only character left in the field.

I was surprised because I was sure it didn’t use to behave like that, and indeed it behaves correctly in v15!

To enter guillemets successfully, I have to open the item (using [Alt-Enter]) and use the Name field therein.

The problem occurs in both v16 and v17, and in both the 32-bit and 64-bit versions, although the behaviour of the 64-bit version is subtly different (EAUI!).  If the guillemets are added at the end of the field, they are entered.  Elsewhere in the field, they replace the original value!

Is this just on my machine, or do others observe this weird behaviour?

Reported,
Paolo
43
I am working with a custom MDG Profile that includes a stereotype extending PackagingComponent (essentially a Package that visualizes/behaves as a Component).

Creating these elements manually via the Toolbox works perfectly. Other stereotypes in the same MDG (extending Class, Component, Node, etc.) also work fine both manually and via CSV import.

However, I am facing issues specifically when trying to import the PackagingComponent elements via CSV:

Attempt 1: If I define the Type column in the CSV as PackagingComponent (and the Stereotype column as MyProfile::MyStereotype), the import fails with errors.

Attempt 2: If I define the Type column as Package, the elements are imported, but they result in standard Packages (not PackagingComponents). Consequently, the Tagged Values appear in the standard "Tags" tab rather than being mapped to the element's general properties/fields as defined by the MDG.

Has anyone successfully imported elements extending PackagingComponent via CSV? Is there a specific string I should use for the "Type" column, or is this a known limitation?
44
The version 2.2.0 has been released. I found and fixed some issues during my tests, but there may still be others.

I tested the newest version for my UML Class Diagrams. It now creating elements, connectors, attributes, and cardinalities. Awesome :)

For any reason it does not create the model anymore (empty "diagram" also cretaed, opened, and selected). So, I have to move the elements from the project brwoser to the diagram.
45
Class A contains activity A() and a subclass B containing activity B().
But when A() calls B() a code error is generated:
   public void A(a, b) {
      // behavior is a Activity
      /*Warning: B - Invoking behaviors from other classes - Not Supported!!*/
   }
So how does an activity invoke a behavior defined in a subclass of its own class?
Don't you think it's a bit weird that a class knows about it's subclasses? I think that violates the Open/Closed principle

But regardless of that, apparently, as indicated by the warning messages, invoking behaviors defined in other classes (whether they are subclases or not) is not supported.

Geert

46
Class A contains activity A() and a subclass B containing activity B().
But when A() calls B() a code error is generated:
   public void A(a, b) {
      // behavior is a Activity
      /*Warning: B - Invoking behaviors from other classes - Not Supported!!*/
   }
So how does an activity invoke a behavior defined in a subclass of its own class?
47
PCS General Board / WebEA and constraints on attributes
« Last post by nilspc on November 20, 2025, 01:59:33 am »
Hi,
Does anyone know if there is way to configure WebEA to show constraints on attributes in a class and constraints on relations between classes?
/Nils
48
General Board / Modelica Library integration with EA/SysML/SysPhS
« Last post by fishy on November 20, 2025, 01:51:24 am »
Hi,
I am modeling a system that involves flows of multicomponent liquids.   I have managed to build and simulate simple models for single component fluid flow using the SysPhS library to generate blocks representing tanks, pipes, motors and pumps and SysMLSim Configurations to drive OpenModelica.
However, there is already a large library of active and passive components in the OpenModelica library.   I am trying to understand how to build blocks that can leverage that library, rather than re-create all the complex parametric models they contain from scratch in EA.   Really I just want SysML blocks that 'wrap' Modelica blocks, reproduce the properties/parameters and ports, but leave the underlying maths/parametrics to Modelica.
There are some simple examples on Sparx's website and YouTube showing how to use ModelicaBlocks from the SysPhS library as "pointers" Modelica Library items, but this looks at an electronics example using JK FlipFlops, and stops short of explaining how to setup all the constants, variables and ports defined on more sophisticated, non-electrical Library components, where some of the interfaces may be more complex than the templates available in the SysPhS library.   Has anyone done this, or can point me to a tutorial...?   I am particularly interested in Fluid components in the first instance.
Thanks,
49
General Board / Re: Importing db Column Notes (Descriptions) via Export / Import
« Last post by A_Marsh on November 19, 2025, 04:58:07 am »
Downloading now!   Thanks for the answer and for the tool.
50
General Board / Re: Importing db Column Notes (Descriptions) via Export / Import
« Last post by Richard Freggi on November 18, 2025, 07:32:23 pm »
Geert's Excel tool 100%! 

<Cue the Mandalorian> "This is the way"
Pages: 1 ... 3 4 [5] 6 7 ... 10