Book a Demo

Author Topic: Accessing port multiplicity from script  (Read 3223 times)

pks

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Accessing port multiplicity from script
« on: March 13, 2015, 08:33:03 pm »
Hello,

I am generating some code and documentation via script from my SysML model. Works fine so far...I have access to all my blocks and their ports.
Now I have a port where I set the multilicity property values (Port->Property->Multiplicity->Lower/Upper bound). Can anybody tell me how to access the values from within a script?

pks

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Accessing port multiplicity from script
« Reply #1 on: March 13, 2015, 09:01:34 pm »
[Solved]
Element.Multiplicity is a string with [Lower Bound]...[Upper bound]