|
Re: Cannot set up InitialValues in SysML model [message #1232126 is a reply to message #1231756] |
Thu, 16 January 2014 09:28 |
Klaas Gadeyne Messages: 165 Registered: July 2009 |
Senior Member |
|
|
Thomas Bardot wrote on Wed, 15 January 2014 05:16Let the following example.
I have two blocks : block_A and block_B.
Block_B has a property called "Id" typed as an integer.
I added two parts to block_A: part_A1 and part_A2. These parts are both typed with block_B. In other words, part_A1 and part_A2 are two instances of block_B and are owned by Block_A.
I would like to define a different value of Id for each instance of block_B. So I try to specified a initial value for the property Id of part_A1 and part_A2.
Indeed, in the reference book "A practical guide to SysML", §7.3 p.141 : Quote:"The initial values for a part can be specified using a dedicated compartment labeled initial Values. The initial values over-ride the default values of the properties in the block that types the part."
Can I specify initial values for a part property with Papyrus?
Edit:
- Can you specify initial values: Yes (but somewhat cumbersome to create)
- Can you show them in a dedicated compartment (IBD/BDD): No
More info: [https://bugs.eclipse.org/bugs/show_bug.cgi?id=347941]
HTH,
Klaas
[Updated on: Thu, 16 January 2014 12:56] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02078 seconds