Book a Demo

Author Topic: How to access Diagram's attribute visibility  (Read 3625 times)

Kezia

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to access Diagram's attribute visibility
« on: November 14, 2007, 08:28:13 pm »
Hi all,

I want to find out about diagram's attribute visibility. We can set visibility of an attribute on diagram by right-click on the Diagram's element, and then "Set Feature Visibility" - Custom button on "Attribute Visibility" group. an then check the attribute you want to hide.

Now, I want to check by code (I'm using C#), whether a Diagram's attribute is hidden or not.

I can find the property "IsHidden" in DiagramLink object. But how I can access such as "IsHidden" attribute in Diagram's attribute?


Cheers,
Kristina

thomaskilian

  • Guest
Re: How to access Diagram's attribute visibility
« Reply #1 on: November 14, 2007, 11:11:14 pm »
Maybe you could look into StyleEx and ExtendedStyle. If you can't manage to find it, you should  contact Sparx' support directly. It might be missing in the automation interface.

Kezia

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: How to access Diagram's attribute visibility
« Reply #2 on: November 15, 2007, 12:26:33 am »
They didn't show me anything that indicate visibility option.
Just, something like below :

"HideRel=0;ShowTags=0;ShowReqs=0;ShowCons=0;OpParams=1;ShowSN=0;ScalePI=1;PPgs.cx=1;PPgs.cy=1;PSize=9;ShowIcons=1;SuppCN=0;HideProps=0;HideParents=0;UseAlias=0;HideAtts=0;HideOps=0;HideStereo=0;HideEStereo=1;FormName=;"

Anyway, thanks.

thomaskilian

  • Guest
Re: How to access Diagram's attribute visibility
« Reply #3 on: November 15, 2007, 12:36:02 am »
What about the HideAtts=0 looks like a boolean specification.