Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Nick Tipper on September 20, 2012, 05:37:05 pm

Title: SysML Association Blocks
Post by: Nick Tipper on September 20, 2012, 05:37:05 pm
Hi,

Can anybody please explain to me how to model SysML association blocks such as the Water Delivery association block in Figure 8.11 of OMG SysML v1.2

Thanks

Nick
Title: Re: SysML Association Blocks
Post by: philchudley on September 20, 2012, 08:30:10 pm
Hi Nick

The closest I can get is

1) On a [highlight]SysML 1.2 Block Definition Diagram[/highlight] add the two Blocks [highlight]Spigot[/highlight] and [highlight]Faucet[/highlight]
2) Change the toolbox to [highlight]Class[/highlight]
3) From the [highlight]Class Relationships[/highlight] section of the Toolbox, select the [highlight]Association Class [/highlight]relationship
4) Starting at [highlight]Spigot[/highlight], drag this relationship to [highlight]Faucet[/highlight]
5) Enter [highlight]Water Delivery[/highlight] in the Class Properties dialog and type [highlight]block [/highlight]into the stereotype field

Unfortunately the isEncapsulated stereotype from SysML 1.2 is not added even if the stereotype is synchronized from the SysML 1.2 toolbox. This may of course not be a problem

Cheers

Phil
Title: Re: SysML Association Blocks
Post by: natvig on September 20, 2012, 08:42:42 pm
In a SysML bdd-diagram, right-click on a Block and choose Advanced | Association Class... In the dialog that pops up you can select which association in the diagram the Block will be linked to.
Title: Re: SysML Association Blocks
Post by: Nick Tipper on September 20, 2012, 09:18:55 pm
nice one, thanks to you both.  I shall now persevere with trying to model my interfaces in a SysML 1.3 fashion
Title: Re: SysML Association Blocks
Post by: philchudley on September 20, 2012, 11:18:19 pm
Thanks you learn something new about EA every day