Author Topic: SysML Port direction custom colour with a legend or shapescript?  (Read 1705 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1374
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Hi,

I'm looking for a solution to dynamically change a SysML block or part's port colour based on the direction (arrow). A block that contains an input flow property is set as the classifier for these ports. Depending on the isConjugated property, the arrow on the port is either rendered as an input or output.
I'd like to dynamically change the ports colour to separate inputs from outputs.
So far I haven't found this information stored anywhere on the element itself e.g. to work with a dynamic legend, or with a shapescript if I stereotype the ports.

The only solution involves using the new EA16 scriptlets but this is not ideal.

Any suggestion ?
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com