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 - Robert van Egmond

Pages: [1]
1
General Board / Re: State machine and entry/do/exit behaviors
« on: February 16, 2022, 07:03:02 pm »
Hi,
No you can not directly open diagrams from the entry/exit/do behaviours nor behaviours on transitions. This is wat you would expect, and would be an nice feature to ad when you right click on the do/entry/exit or they can make the behaviour/activity clickable. As a work around a place a diagram frame with the activities on it on the same diagram, or jou can place diagram links. But these are nor really good alternatives.

2
Hi Avi,

This is a very real-life situation indeed. The aproach I take is to create a new package for the new decomposition level. I than move the top level block (for that level) to that package and create a BDD there. Place the link to the block on it and add it's decomposed block (e.g. with insert related elements). When I futher elaborate the system, i usually place this BDD and blocks under separate package named "Decompositon" and create other packages for for instance functional behaviour.
Hope this helps.

Regards,
Robert

3
General Board / Re: SysML, IBDs and Multiplicity. Insights?
« on: January 04, 2021, 06:39:47 pm »
The correct way to get multiple parts in the IBD is to draw multiple composition relations (to the same block) in the BDD. You can name the instances with the "role" property in de connector properties.

Regards,
Robert

4
I did some tests with 15.2 but don't see it. Maybe you can be more specific. How did you copy the diagram (shallow/deep/smart), and how dit you export the image?

5
Regarding to this remark.

"Also I would like to make the line representing an object flow, a dashed one - but cannot find a regarding dialog. Do you know it?"

The SysML 1.4 spec says the control flow may optionally be dashed:
"Control flow may be notated with a dashed line and stick arrowhead, as shown in Figure 11.4" 

In EA (15.2) there is an option for this for the whole model under:
Configure->Model->Options->General  , at the bottom of the page you can check "Dashed line for Control flow".

6
General Board / Re: Can't create multiple levels of encapsulation in IBD
« on: November 02, 2020, 07:49:34 pm »
....

Can you please add more clarification on "Add the intermediate property via <etc>".
Question 2: Is the Parts/Properties window that tab in the Features window you get when you select:   
             Right-click menu > Features  > Parts /Properties ?

Question 3: then select it and add the second level one: you mean click the checkbox to enable it?

Assuming you mean the above, I open the correct window , Features> Parts/Properties tab, e.g., for block BlockType_Level_2, but i see no entries there.

This is although that in the BDD I have defined three sub-blocks under BlockType_Level_2, namely , e.g., BlockType_Level_3A, BlockType_Level_3B, and BlockType_Level_3C , and associated it to the the container-to-be (BlockType_Level_2) as 'Composition to Part".

Maybe I defined in the BDD the three sub-blocks wrong. But  iI define them the same way as those that work. I will send an example diagram later, if necessary.

Thanks


Hi,

I'm using 15.2 (1554) and I did a little test with what you descibe above and it all works fine. I suspect something went wrong in creating the parts when you created the composition to part relation. Do the parts show up under your system in the project browser?


7
In my model I use SysML::activities to specify the behaviour of a state transition effects and the behaviour in a state (entry/do/exit). This can be specified for transitions in the menu: Transition Properties->Effect (Effect is a Behaviour)->...
and for states in the menu: Features->Behaviour->entry/do/exit->Name/Comment(type a name and double click it)->Behaviour->Element.
The names of the behaviours (SysML::Activity) then show up in de STM diagram. For better model navigation it would be very usefull if this name is a hyperlink to the  behavour diagram of the Activity (SysML activity diagram). An other option is to add a "find in project browser" or "find in all diagrams" option in a context menu of the label.

8
Bugs and Issues / Re: Activity Frame; Useless Auto Horizontal Resize
« on: October 21, 2020, 06:03:57 pm »
Hi, I'm running build 1554 and I did a quick test, but I don't see these problems any more (Seen a lot of problems with this in 14.5). So it seems to bee fixed!

9
Automation Interface, Add-Ins and Tools / Re: Custom Table Script context
« on: October 17, 2020, 01:17:13 am »
Hello,

I found something in a Youtube video introducing EA15.  https://www.youtube.com/watch?v=uEPP6ec9hVE at 23:35 they show an example of how to do this. You can enter the code for the script with by selecting the custom table and then Develop-->Source Code-->Behaviour-->Edit internal Code.  Here is the code snipped they use:

var theElement = Repository.GetElementByID(#OBJECTID#);
var theGrid = theElement.GetElementGrid();
var d = new Date();
var sVal =  d.toString();
theGrid.SetCell(0,1, sVal);
theGrid.Update();


Hope this helps!

Regards, Robert

Pages: [1]