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.


Topics - royvanmarrewijk

Pages: 1 [2]
16
General Board / Use attributes in behavior description
« on: July 25, 2016, 10:56:09 pm »
Hi,

I expect this question on the forum already but I couldn't find it.
Is it possible to link attributes in the behavior field of an operation?

kind regards,
Roy

17
Hi,

I am writing a script (JScript) which set the global color of the blocks and there instances. I use the SetAppearance function to do this but when I color an instance the element type of the instance within an internal block diagram disappears. So can anyone tell me how to prevent this or how I can enable 'show element type' with scripting?

kind regards,
Roy van Marrewijk

18
Bugs and Issues / Project transfer empty
« on: May 02, 2016, 11:27:23 pm »
Hi,

I use the Project Transfer function to create an export of the model once in a while and it usally it works fine. But for some reason it doesn't work anymore since the Project Transfer (DBMS -> EAP) is done within a second and the .EAP is empty.

Does anyone of you have an idea what this could be?

kind regards,
Roy

19
Automation Interface, Add-Ins and Tools / Behavior editor
« on: April 22, 2016, 08:16:53 pm »
Hi,

For the description of the behavior we are currently using the behavior field within an operation of a SysML1.3::Block. Because the editor of the behavior field isn't that well I am wondering what the alternatives are. I already tried to use the initial code field so we can at least have some tabs and colors but what I really would like to have is a possibility to edit my code in for example Notepad++. Within Notepad++ it would be nice if we have the possibility to have all the operations in one view.

So can someone tell me what's the best way for describing the behavior of operations?
Roy

20
Automation Interface, Add-Ins and Tools / Linked document to Document
« on: April 06, 2016, 12:00:22 am »
Hi,

For our project we use JScript to collect the information from the model and to plot it into a Word document. Since some of our elements contain linked documents with images I would like to know how I can copy the information from the Linked Document into the Word document. I tried to use the GetLinkedDocument function which returns a string of the content but I don't know how to convert this to readable information / images.

Kind regards,
Roy

21
General Board / UML class to SysML block
« on: February 16, 2016, 01:19:06 am »
Hi,

We just discovered that a teammember created a lot of UML class type elements where our conventions tells us to use SysML1.3 type elements. :o Can anyone tell me if there is a standard EA function which I can use to convert the UML Class to a SysML1.3 Block?

Roy

22
General Board / Pass operations through ports
« on: October 16, 2015, 01:28:33 am »
Hi,

I have a SysML question. I created three Blocks [A, B, C]. The blocks contains ports and the ports are types by an (interface)block. An interface block either realizes an interface of depends on an interface. With this construction A is connected to B and B is connected to C. This construction enables me to design the interface behaviour of the interfaces between two blocks. But when I try to design the behaviour between the two ports that belongs to Block B (see Ports 3 and 4 below) it isn't possible, this because I can't call the operations of the interface on the side of Port 3, this because Port 3 is the required interface).

[A][Port 1]->Dep->[IF]<-Rlz-<[Port 2][Port 3]->Dep->[IF]-<Rlz<-[Port 4][C]

So If anyone can tell me how to pass operations through a port it would be very helpfull!

I already tried to work with Proxy Ports and Conjugated ports but this doesn't work.

Kind regards,
Roy

23
General Board / Model simulation
« on: November 08, 2014, 12:38:16 am »
Hi,

I have created two SysML Blocks with both a port which I connected to each other in the IBD of the 'SuperBlock'. Both Blocks contains a State Machine.
Now what I am trying to accoplish is to call a operation of the other block using the port, I would like to do this from my State Machine.

1. How to instantiate Blocks
2. How to (auto) start the State Machines within the instances
3. How to communicate between blocks (using operations)

I hope you guys/girls can help me!

kind regards,
Roy van Marrewijk :-?



24
Bugs and Issues / EA is slow since using Ports
« on: September 04, 2015, 12:01:28 am »
Hi,

Since a while we use Enterprise Architect with the SysML pluging for the modelling of tunnel installations. Untill a couple of weeks ago it worked very well but since we began start using Ports the model (only the diagrams which shows de blocks with the ports) is becoming very slow.

So do you have any idea what this could be and how to fix it.

kind regards,
Roy

25
Automation Interface, Add-Ins and Tools / Default appearance script
« on: August 31, 2015, 06:43:07 pm »
Guys,

Last weeks I am full into scripting, so that's why I have all those questions ;)

Elements in the model which we created in the last period uses colors to show the status. As you know colors are not the best way to deal with information so this is why we want to convert the colors to tagged values.

Because there isn't a method getAppearance() in the element class I tried to get the colors (style) of all the diagramObjects belonging to the element. This worked but the result is that I only know the diagram appearance and not the 'default' appearance.

So my question is how I can get the default appearance of an element with a script.

kind regards,
Roy

26
Automation Interface, Add-Ins and Tools / Default tagged value types
« on: August 27, 2015, 09:32:53 pm »
Hi,

I try to add a tagged value to elements which satisfies some conditions. The tagged value I want to add is a predefined tag which allows me to use a dropdown.

Within my Jscript I am able to add a tagged value to the element but when I use the name of the predefined tag and the default value of the predefined tag as value I will get a normal tagged value.

So the question is, how to add predefined values to an element via scripting.

kind regards,
Roy

27
Automation Interface, Add-Ins and Tools / Document generator scripting
« on: August 26, 2015, 06:33:20 pm »
Hi,

I would like to generate a document which presents all the diagrams that belongs to a specific element. As a solution for this I created a document template with the sections package->element. Within the element section I refer to a fragment which collects all the diagrams with a script (JScript).

So I have al the data I need but the only thing left is that I can't figure out how to show the diagramImage of the data.

If anyone can tell me how to do this I would really be helped.

Kind Regards,
Roy van Marrewijk

Pages: 1 [2]