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

Pages: [1] 2 3 ... 8
1
Bugs and Issues / Re: Tag sorting
« on: March 19, 2020, 01:56:38 am »
Just guessing:
Maybe it helps to sort the "tags" in project browser of the MDG model, when the tags still are "just" attributes, before the MDG is generated.

This at least helps to keep desired sorting of stereotypes when used in a toolbox.

2
General Board / Re: Where is the "model default diagram" stored?
« on: February 08, 2020, 12:58:14 am »
That worked  :)
Thanks a lot.

3
General Board / Where is the "model default diagram" stored?
« on: February 05, 2020, 09:49:59 pm »
Hello,
does anybody know in which database table the "model default diagram" is stored?

I have a model in which I cannot set the model default diagram using the UI.
I hope to get it set by directly manipulating the storage location in the database.

4
General Board / Re: EA and PostgreSQL x64
« on: December 06, 2019, 08:26:20 pm »
Thanks Eve, good hint.

Up to now I had the psqlODBC database driver installed in a x86 version (downloaded file name was psqlodbc_11_00_0000-x86.zip).
Now I replaced that with psqlodbc_11_00_0000.zip (no postfix like x86 or x64). This seems to combine x86 und x64 driver versions (yes, I am aware that there is already a version 12 of the driver).

And *tadaaa* I can open my models on the "PostgreSQL 12 x64 server".

5
General Board / Re: EA and PostgreSQL x64
« on: December 05, 2019, 10:23:04 pm »
Hello,

are there any news on the usage of 64 bit database management systems, e.g. PostgreSQL x64?

This page does not provide any information on this: https://sparxsystems.com/enterprise_architect_user_guide/15.0/model_repository/settingupdatabasemodelfile.html

Background:
We would like to update from PostgreSQL 9.5 to (preferably) the latest version 12.1.
But beginning with PostgreSQL 11 no more 32 bit version are offered: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

6
Sorry for warming up this really old topic, but I run now into are quite similar problem.

If I refer to the last two post right before this one.
1. No EA key - Launch EA from that user account with GUI to add a key.
2. User has no permissions to create COM objects.

1. This is a "Passed". Our "Jenkins user account" has an EA license. Being logged in as that user and starting the EA GUI works without any problems.
2. This is probably a "Failed". How can I find out if the user has the right to create COM objects?

Many thanks.

7
Seems to work :). Thanks a lot.

But who in this world, designs a programming language that is using () instead of [] for index based accesses. This is insane!
I truly spent ~ 4 hour on this issue. Now I will go into the basement and smash something against the floor to soothe my rage >:(.

8
Hello all,
in an EA script (using EA 14.1) I would like to create and access :o a list of integers.
I want store the element IDs of a bunch of classes and objects in that list and do some checks on this.

What I did:
Code: [Select]
set listOfDs = CreateObject("System.Collections.ArrayList")
...
listOfIDs.add(connector.SupplierID)
Now I would like to access the elements in the list.
But unfortunately there is no listOfIDs.GetAt(<index>) method.
When trying to access an element with the [] operator I get an error message.
Code: [Select]
Session.Output listOfIDs[0]leads to the error message: "Expected end of statement".

Any idea how to access the element in the ArrayList?
Are there alternatives to the ArrayList (number of elements to be in the list is unknown, so dynamic resizing would be great)?

9
General Board / Re: Shape script: tagged value of parent element
« on: February 20, 2019, 08:14:06 pm »
Hello Carolin,

I am dealing with shape scripts since years.
There is noting in the shape script language to access tagged values from a parent element.

It is not even possible to access all owned tagged values, e.g. the elements of a structured tagged value (structured tagged value is owned by the element with the shape script).

10
Hello,
when creating an enumeration element including some attributes, the attributes are displayed by default in a diagram.

In an MDG I have different stereotyped enumerations, and I would like to have own shape scripts for them.
But with the below shown code the shape script does not show the attributes.
What am I missing?
Code: [Select]
shape main
{
// initialisation
layoutType = "border";

rectangle(0,0,100,100);
addsubshape("namecompartment","N");

shape namecompartment
{
preferredHeight = "20";
h_align = "center";
rectangle(0,0,100,100);
print("#stereotype#: #name#");
}
}

11
To say it in Trumps words: "So sad." :(

12
Hello,
I have a structured tagged value (a class PhysicalRange with a "Min" and a "Max" attribute).
Now I want to query the Min and Max value in a shape script.
Something like:
Code: [Select]
if( HasTag("PhysicalRange.Min", "") ) {
// do something
}
Is that possible?
And if Yes, where can I find information on this?

Accessing normal (unstructured) tags is easy. No problems with that.

13
General Board / Re: EA 14.1: How to see the "owner" of a port of class?
« on: November 12, 2018, 06:14:06 pm »
Anyone any idea?

14
General Board / EA 14.1: How to see the "owner" of a port of class?
« on: October 30, 2018, 08:16:14 pm »
Hello,

I have a class "Child" that inherits a port from a base class "Parent".
In the dialog window "Features & Properties -> Interaction Points" EA 14.1 shows the owner of that port as "Child".
In EA 13.5 and earlier the owner was shown as "Parent", because that port was originally created at the Parent class.

How can I see in EA 14.1 if a port is inherited from a "base class" or not?

I feel tempted to report this as bug, as the EA <= v13.5 behavior was a bit more logical and helpful to me.

15
Bugs and Issues / Embedded elements of an instantiated class are locked
« on: October 23, 2018, 07:08:56 pm »
Hello,

some facts:
- EA model with enabled user security and activated "Require user lock to edit"
- Problem discovered in EA 12 to EA 14.1 (probably also earlier versions)

Problem:
I have a class with embedded elements like ports or parts.
If I now create an instance of this class, all embedded elements are also instantiated. Awesome :).
BUT: The instantiated embedded elements have no applied user lock, only the class instance gets the user lock.
Thus, giving a name to such an element, or giving a stereotype to an element is prevented, because the OK button is deactivated because of the missing user lock.
We have to manually apply user lock to the embedded elements.

Questions:
Is this behavior intended and why?
Any solution/workaround available to get applied user locks on element instantiation?
Or is a bug report to Sparx necessary, given that there is no reasonable argument why this is intended?

Pages: [1] 2 3 ... 8