Show association block's owned ends' properties in a Table

Discussions about systems engineering product SysML functionalities

Moderator: Moderators

Show association block's owned ends' properties in a Table

Postby aabdelr4@ford.com » Fri Apr 30, 2021 3:08 am

Hello All,

I have been trying to maneuver my way through the metachain navigation and simple navigation with no avail, I think it might need scripting of some sort but I'm not sure, I was hope one of y'all can help!
My goal is to have my model output the table at the bottom of the attached image for the simple structure shown in the image.
I'm not sure how I can navigate through the table navigation options to get to the namedelement of the owned ends of the association block.
Looking forward to a response! Thank you in advance!
You do not have the required permissions to view the files attached to this post.
aabdelr4@ford.com
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:0
Joined: Fri Apr 30, 2021 2:35 am

Re: Show association block's owned ends' properties in a Table

Postby ogirdor » Mon May 03, 2021 4:44 am

Hello,

you can use a metachain navigation to show the Ends in a table:

2021-05-03 -AssociationBlocksTable.png


If you want to show each end in a separate column, you could feed this to a short script that extracts the first element in the collection, then in a second one the second element:

2021-05-03 -AssociationBlocksTablewScript.png


Good luck.
You do not have the required permissions to view the files attached to this post.
ogirdor
Forum Beginner
Forum Beginner
 
Posts: 61
Posts Rating:18
Joined: Wed Jun 03, 2020 4:41 am

Re: Show association block's owned ends' properties in a Table

Postby aabdelr4@ford.com » Mon May 03, 2021 5:57 am

:shock: :shock:
@ogirdor You're amazing! Thank you for that!
You do not have the required permissions to view the files attached to this post.
aabdelr4@ford.com
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:0
Joined: Fri Apr 30, 2021 2:35 am

Re: Show association block's owned ends' properties in a Table

Postby ogirdor » Mon May 03, 2021 8:24 am

You're welcome!
ogirdor
Forum Beginner
Forum Beginner
 
Posts: 61
Posts Rating:18
Joined: Wed Jun 03, 2020 4:41 am


Return to SysML

Who is online

Users browsing this forum: No registered users and 1 guest