Book a Demo

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

Pages: [1] 2 3 4
1
General Board / Re: Javascript Model AddIn - Including Libraries
« on: June 10, 2026, 03:31:36 pm »
Thanks for you answer.
The reference is to the class element and not the package.
And the Utiliies package is used in the EAExample model in the package "Model Based Add-Ins"
I am building a model addin using the same structure.

After testing, it seems that the example is also not functional.
The AddIn "MyDemoAddin" has the reference to 2 class elements, but the operations calling them (TestOtherObject, TestXML) is not implemented.
After adding them:



they throw the same error:

Code: [Select]
Invocation error in: addin.EA_MenuClick
------------------------------------------------
 344:    }
 345:    MyDemoAddin.prototype.TestXML = function() {
 346:    var doc = new JSxml();
 347:    doc.SetCurrentNode(doc.CreateRootElement("properties"));             [!!!! JSxml is not defined]
 348:    var group = doc.AppendChild("group","");
 349:    doc.SetAttribute(group, "name", "theGroup1");
 350:    this.MultiLineOutput(doc.GetXML());
 351:    }
 352:    MyDemoAddin.prototype.UpdateSelectionSummary = function(Repository) {


2
General Board / Javascript Model AddIn - Including Libraries
« on: June 09, 2026, 08:25:44 pm »
I am currently trying out the Javascript Model Addins and I got a problem with the inclusion of libraries.
So looking at the example a dependency connection and putting the class in the utilities package should have been enough.

But when I try to call them, I get:
  34:            var doc = new JSxml();             [!!!! JSxml is not defined]
  35:            doc.SetCurrentNode(doc.CreateRootElement("properties"));

In this video on the sparx youtube chanel: https://www.youtube.com/watch?v=n9tWUncuVGo
They claim this works.

Am I missing something or is this just a buggy feature?

3
General Board / Re: Property Type via Script
« on: May 18, 2026, 05:28:43 pm »
The weird thing is, selecting a Type from the dropdown, the classifier will be set to the selected type. But the deposited ID will be 0, independent of the dropdown selection.
Welp, using the classifier enables a better traceability.
I guess this is part of the usual EA shenanigans^

4
General Board / Re: Property Type via Script
« on: May 12, 2026, 08:21:41 pm »
I figured it out. But weirdly I can't give it one of the types, that are shown in the drop-down menu of the type field in the property tab.
You have to set an existing element as the type.

5
General Board / Property Type via Script
« on: May 05, 2026, 05:18:12 pm »
Does anybody know if it is possible to fill the Type field of a property element in its Property Tab via a script.
I can read it through PropertyTypeName, but I can't find a way to edit it.
I want to automatically generate Properties via a Script and define their Type (and maybe even the Initial Value) on specific conditions.

I can't even find that Type field of that property in the sql tables.

6
General Board / Fragments and SQL
« on: September 03, 2025, 03:24:10 pm »
Got a small problem with the Fragments
I want to count elements with a specific tagged value via a sql search and post the result into a report.
This works for some but not for all, even though, if I test the sql in "Find in Project" it works.

Has anyone an idea? 

7
General Board / Re: Not being able to type a FlowProperty with a Signal
« on: August 20, 2025, 06:09:18 pm »
In the properties window of the FlowProperty, under Type.

This worked in older EA Versions. I used it through Version 16. And I am pretty sure it worked in the release version of 17.

I was trying to model the signal flow in an IBD. And while creating the InterfaceBlocks I noticed this bug.
Based on the SysML specification: "A FlowProperty shall be typed by a ValueType, Block, or Signal."
Value Type and Block still works though.

8
General Board / Not being able to type a FlowProperty with a Signal
« on: August 19, 2025, 07:34:49 pm »
Does anyone have the same Poblem?
I am using Build 1710

9
General Board / Re: Question about the Excel Import
« on: June 25, 2025, 07:46:34 pm »
Ah, thanks!
I didn't see that hidden column.
Works perfectly!

10
General Board / Question about the Excel Import
« on: June 24, 2025, 06:19:53 pm »
So I am playing around with the Microsoft Office Add-In
Especially with the Excel Im-/Export
If you export, lets say requirements.
Is there a way to import those, so they replace the existing ones, while keeping their traceability.

I am asking, because I somehow managed it a couple of times.
But I can't reproduce it anymore.


11
This seems like the wrong content for this forum...

12
General Board / SendSignal, AcceptEvent and Ports
« on: March 04, 2025, 07:17:01 pm »
I have a question about Sending/Recieving Signals over ports:

In a SendSignal Action you can devine a port with "On Port"
The triggers also have the option of selecting a port.

Can you limit the reception of SendSignal and AcceptEvent through ports?

Here is an example:

A block, consisting of 3 subblocks:
Each block has an activity with a diagram.


The IBD:
The ports are typed with interface blocks. Each has one flow property, wich is typed by a signal.


The following is the activity diagram of Block0.
The 3 diagram frames below are from the subblocks.
Block2 and Block3 are both waiting for SIG_1 and SIG_2.
But only Block2 should recieve SIG_1 and Block3 SIG_2.
For this, the SendSignal SIG_1 is On Port: Port1
SendSignal SIG_2 is On Port: Port2
The Triggers of Block2 and Block3 are linked to the port of their block.


The problem is, that Block2 and Block3 both recieve SIG_1 and ignore SIG_2

So am I doing something wrong or does EA not support this functionality?


13
General Board / Package in Specification View
« on: February 17, 2025, 08:29:10 pm »
Is there a way to see the parent package in the specification view.
I can't find it in the field chooser.

14
General Board / Re: Value Type, Quantity Kind and Units
« on: February 12, 2025, 05:23:00 pm »
Good to know!
I guess I'll have to the network config.

Thanks for the answer.

15
General Board / Re: Value Type, Quantity Kind and Units
« on: February 10, 2025, 05:38:30 pm »
The Error Message is:

Unable to connect to service
Http Status Code: 403 Forbidden

So far, everyone in my company gets this error.

Pages: [1] 2 3 4