Target of CallOperationAction

5 views
Skip to first unread message

Frank

unread,
Nov 6, 2009, 5:34:29 AM11/6/09
to SysML Forum
Hi,

i modelled a procedure of my system through an activity diagram. i use
a callAperationAction and as target, i want to chose an instance of
block of my model. i explain:
Example: my system is a car with four wheels ( rigthFrontWheel,
rigthBackWheel, leftbackwheel, leftFrontWheel), to model this, i draw
a block for a wheel and i use ibd to draw the four instances of my
wheel. now, how to chose exactly the rigthFrontWheel as target of my
CallOperationAction in an activity diagram?

Thanks,
Frank.

Dragos DOBRE

unread,
Nov 6, 2009, 10:56:55 AM11/6/09
to sysml...@googlegroups.com, Frank
Hello,

I think you can do that by adding a parameter to your operation with the
wheel type. When you call your operation you give the rigthFrontWheel part
value to your parameter.

Regards,
Dragos

Frank

unread,
Nov 9, 2009, 2:59:33 AM11/9/09
to SysML Forum

Firstly, thanks for u answers. i try it, but i didn't find how to
choose a part of my system as parameter in SysML.the only things that
is available is Enumeration as Instance value and user-defined value.
i fear that isn't possible.


How to select the reigthFrontWheel part already design in my model?

Thanks,
Frank.
> Frank.- Hide quoted text -
>
> - Show quoted text -

Dragos DOBRE

unread,
Nov 10, 2009, 4:16:06 AM11/10/09
to sysml...@googlegroups.com
Hello Frank,

I think it depends on the tool you're using to model SysML. I'm using
Artisan Studio Uno (it's free) and here when you create an operation you can
add parameters. For each parameter you can assign the type of the parameter
which can be a block (Wheel for you). When you do a CallOperationAction (I
didn't see this type of activity in Artisan but there are operations calls
in Sequence Diagram) you can select your operation and you can give the
value for the parameter as RightFrontWheel (as a matter of fact the
parameter in the operation instance is just a text which doesn't refer to
the part).

Frank

unread,
Nov 12, 2009, 9:15:33 AM11/12/09
to SysML Forum
re,

Dragos : " (as a matter of fact the parameter in the operation
instance is just a text which doesn't refer to
the part)"

There is not a method to model it more formal? means not write the
name of the instance everytime.


Thanks,

Frank.
> > - Show quoted text -- Hide quoted text -

Ralph N Hains

unread,
Nov 12, 2009, 11:09:42 AM11/12/09
to sysml...@googlegroups.com
Hello Dragos,

Artisan recently issued a new version of Uno (7.1) which supports
"CallOperationAction" explicitly, along with other specific Activity related
types. You might want to consider upgrading if you are using the UML
Activity model in your work (or if, on a more cosmetic level, you like the
new 3D look of the diagrams I was experimenting with in one of my earlier
posts! I've decided that I do)

Cheers,

Ralph
Reply all
Reply to author
Forward
0 new messages