Engineering

 View Only
  • 1.  Rhapsody API: set port display options

    Posted Mon August 14, 2023 04:49 AM
      |   view attached

    I try to unset the Show Contract option of a port in a IBD diagram.

    I can't find any API function to do that.

    Is it possible and how ?



    ------------------------------
    Christophe
    ------------------------------


  • 2.  RE: Rhapsody API: set port display options

    Posted Mon August 14, 2023 07:54 AM

    I've now found how to do : on the GraphElementsetPropertyValue("ObjectModelGe.Port.ShowName", "Name")



    ------------------------------
    Christophe
    ------------------------------



  • 3.  RE: Rhapsody API: set port display options
    Best Answer

    Posted Fri August 25, 2023 10:58 AM

    That is right

    Set the property: ObjectModelGe.Port.ShowName to "NameAndType" to get the contract or set to "Name" to omit the contract.



    ------------------------------
    Suneel Santharam
    Sr. Product Consultant
    IBM India Pvt LTD
    Bangalore
    9.18E+11
    ------------------------------