Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Zzelle on February 23, 2007, 08:18:08 am

Title: SysML : typing flowport using flowspecification
Post by: Zzelle on February 23, 2007, 08:18:08 am
According to SysML specification (if i understand it well  ;D), it's possible to type flowport object with a flow specification but i don't find how to do it using Enterprise Architect & its SysML add-in  ???
It's really possible using EA ? If yes could someone give me the holy trick to model flowspecification typing ?
Title: Re: SysML : typing flowport using flowspecificatio
Post by: «Midnight» on February 25, 2007, 06:56:31 am
Don't know for sure, but check the tagged values window when you have the flowport object selected.
Title: Re: SysML : typing flowport using flowspecificatio
Post by: Zzelle on February 26, 2007, 07:33:21 am
Quote
Don't know for sure, but check the tagged values window when you have the flowport object selected.

No tagged values for the flowport typing (arghhhh), do really EA allow it ?
Title: Re: SysML : typing flowport using flowspecificatio
Post by: KP on February 26, 2007, 01:27:34 pm
It's the same as with UML ports: right-click > Advanced > Set Property Type. The keyboard shortcut is Ctrl+L.
Title: Re: SysML : typing flowport using flowspecificatio
Post by: «Midnight» on February 26, 2007, 01:29:05 pm
Thanks Neil,

BTW, where is it stored? Is it in the SubType field, or elsewhere?

David
Title: Re: SysML : typing flowport using flowspecificatio
Post by: KP on February 26, 2007, 01:38:02 pm
Quote
Thanks Neil,

BTW, where is it stored? Is it in the SubType field, or elsewhere?

David

The type's GUID is stored in the t_object.PDATA1 field - for automation purposes that's EA.Element.MiscData(0).
Title: Re: SysML : typing flowport using flowspecificatio
Post by: Zzelle on February 26, 2007, 04:01:31 pm
Thanks !
Title: Re: SysML : typing flowport using flowspecificatio
Post by: lwd on March 01, 2007, 10:40:24 am
I'm new to EA, using EA 6.5.804 with SysML.  My problem with FlowPorts is twofold.  First, I draw an ItemFlow between two FlowPorts both with tagged value "in".  No error; model integrity check OK.  Second, I cannot get the Advanced>Set Property Type to work on a FlowPort with either a FlowSpecification or a constraintBlock.  The error tells me to "remove SysML Flows::flowport and try again."

I'd like to use EA with SysML rather than Visio for the system engineering effort at hand but just can't get EA to work in this one critical area.
Title: Re: SysML : typing flowport using flowspecificatio
Post by: «Midnight» on March 01, 2007, 12:09:43 pm
This sounds like a bug to me, but it could also be something to do with how the add-in expects to be used. There are several of these that aren't documented well (or where you'd expect them to be, or at all), so they are 'gotchas' until you know the right tricks.

If you don't get a response in a business day or two - as I write this it is getting close to close of business on Friday in the Land of Aus - I suggest you report it as a bug. Sparx is pretty good about answering or resolving this kind of thing, regardless of the cause.

David