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

Pages: [1] 2
1
Automation Interface, Add-Ins and Tools / Script for copying diagrams
« on: December 16, 2024, 10:19:58 pm »
Hi Everyone,

I need to create a JScript for copying a diagram from a package source to a destination source. I'm able to copy through the use of targetPackage.Diagrams.AddNew functions and setting elementId, top, bottom, right and left for all the elements to move within the diagram. The issue that I have is that the copied diagram is not well formatted and there are some elements that are overshadowing others or the positions are different. Is there a way to simplify the copy and have a full copied diagrams identical to the original through functions in a script?
Thanks

2
Hi All,

Does anyone has experience with environments that involves requirement tools + EA?
In particular I know that some tools provide a direct interface (e.g. JAMA), while others uses third part integration (e.g. Polarion with Lieber Lieber LemonTree). Do you have any detail about it and what is the best one in terms of interface?
Thanks,

Michele

3
General Board / Time trigger and After(time)
« on: April 05, 2023, 05:46:16 pm »
Hi All,

I need to create a time trigger that perform a transition after a period of time. I would like to use the after(time) trigger. Is it supported by EA?
Thanks


4
General Board / SimFunction
« on: March 04, 2023, 02:21:57 am »
Hi All,

I'm approaching to parametric diagrams and simulation. I'm following the guide about mathematical simulation provided by the Sparx Website. In particular I'm replicating the Two Tank example where it is explained how to create a function inside a constraint, stereotyping an operation as a "SimFunction".
I'm creating a new operation inside a constraint block but no stereotype SimFunction is applicable. Even if i see all perspectives the specific stereotype is not present.
I will appreciate any kind of help.
Thanks,

MP

5
PCS General Board / Call behavior actions and Overlays on WebEA
« on: July 01, 2022, 04:25:54 pm »
Hi all,

I'm facing some issue on a model I'm exploring on WebEA. I'm not able to open some diagrams just clicking on the call behavior actions that call them. This made difficult to explore the model.
In addition, I have created some matrix specifications with overlays (to represent status of valves On-Off), but also in this case I'm not able to see the overlay on WebEA.
I will appreciate any kind of help.
Thanks

6
General Board / Re: Relationship Matrix and Template
« on: June 21, 2022, 11:45:48 pm »
Hi,

I'm able now to debug Javascript. As I mentioned in previous posts, my purpose is to create a table starting from a matrix I have already created in EA that connect states (source) with a set of actuators (modeled as blocks). The idea is to create a dynamic table, considering that both states and actuators numbers could change. Is it possible to do something like this with a Document Script or I need to create a table with a fixed number of rows and columns?
Thanks

MP

7
PCS General Board / webEA and Glossary
« on: June 15, 2022, 07:27:39 am »
Hi all,

Is there the possibility to navigate the glossary through webEA as for the EA Glossary Giew? I noticed that it is possible to create a glossary package containg the category and the different terms, but it is not so simple to explore and navigate in webEA.

Thanks
Michele

8
General Board / Re: Relationship Matrix and Template
« on: June 14, 2022, 08:19:20 pm »
I'm still having the same message. I'm launching the debug directly from the scripting tab. Is it correct? The debug output is the following:

[11567396]      Stack recording threshold set to 3 frames
[11567474]      Default Directory is C:\Program Files\Sparx Systems\EA
[11567474]      Agent dll found: C:\PROGRA~1\SPARXS~1\EA\SScript.dll
[11567474]      Default Directory is C:\Program Files\Sparx Systems\EA
[11567475]      Agent: Started
[11567495]      Failed to get EA::IDualApp interface
[11567513]      dbg.enabled=undefined
[11567514]      vea.hit =function hit() {
[11567514]          [native code]
[11567514]      }
[11567514]      compiling script for url: C:\Users\passem3\AppData\Local\Temp\2AE65E46-AE57-4116-AFEC-6D28746C27BC.js
[11567519]      compiling script for url: C:\Users\passem3\AppData\Local\Temp\BE2A36AA-7250-412f-B0D0-D902B344325A.js
[11567519]      Repository is undefined

9
General Board / Re: Relationship Matrix and Template
« on: June 14, 2022, 07:32:17 pm »
Thanks,

In addition, I'm also evaluating to create a Document Script with JScript code to be more flexible in creating a table with variable rows and columns. Regarding this aspect, I'm trying to debugging the script (running Debug Script from the Scripting list) but I have an issue when it run this part of code:

Repository.GetElementByID(object);

The message the debugger gives is: Repository is undefined.
How is it possible to debug considering the Repository of the model ?

Thanks


10
General Board / Re: Relationship Matrix and Template
« on: June 14, 2022, 12:19:34 am »
Thanks Geert,

This code is very helpful. How does the final results look like?

11
General Board / Relationship Matrix and Template
« on: June 13, 2022, 05:38:23 pm »
Hi all,

I would like to create a custom template where to show some relationship matrixes. In particular, for some of them I have created overlays and I need to show the complete matrix on the template.
I have added the relationship matrix tag, showing both the name and the image ( {Matrix.Image}) but the overlay is not showed. Do you have any suggestion in how I can represent the complete matrix on the template?
Thanks

12
General Board / EA 16 and PTC Integrity
« on: June 06, 2022, 07:40:46 pm »
Hi all,

Does anyone has experience with the interface between PTC Integrity for requirements and EA? What options are the best to connect the two tools? Does EA 16 provide additional improvement for the connection with external tools?
Thanks

 

13
General Board / Relationship Matrix and Properties
« on: May 06, 2022, 07:57:26 pm »
Hi,

I would like to produce a relationship matrix where the target will be a list of properties (SysML) contained in several Internal Block Diagrams. My purpose is to show on the matrix only the properties of one type.
Is there any option to do this?

Thanks

14
General Board / Re: Enterprise Architect and SVN
« on: March 29, 2022, 07:34:20 pm »
How EA manages commit of exported xml packages? Is it possible to configure in order to perform one single commit?

Thanks

15
General Board / Enterprise Architect and SVN
« on: March 29, 2022, 12:57:08 am »
Hi,

I' m versioning a Model with SVN and I have added the branch to the Version Control, following the option on EA. When the system starts to perform the automatic commits to the SVN repository, I have the following errors and the following message:

"User had 15 commits in a row in the last 450 seconds.
Subversion was designed to work on a change-set basis rather than file by file basis."

Is there any procedure o particular option to avoid this error? Is it necessary to perform manual commits?
I' have also tried to version single packages, but on same packages I have the same error.

Thanks

Pages: [1] 2