Book a Demo

Author Topic: VBScript access to all diagram properties options?  (Read 5621 times)

Unnamed EA User

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
VBScript access to all diagram properties options?
« on: July 13, 2016, 05:54:10 am »
Hey guys,

I am running EA 11.0.1107.

My goal is to write a Visual Basic script to go through the entire project and turn on the "Divide Diagram into Multiple Pages" under Diagram -> Properties -> Diagram tab -> Document Generation Options section.  I found access to the "Show Namespace" option and "Show Diagram Details" option and others through the Diagram Package class, but I need to know how/where to access the Document Generation Options because I cannot find where to access them in the documentation.  I didn't see a method to access them through the Document Generator Interface Package class or any other class for that matter.  What am I missing here? 

I have a screenshot I can email if necessary as well, but cannot upload due to workplace rules.

Thanks in advance for any help you can offer.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: VBScript access to all diagram properties options?
« Reply #1 on: July 13, 2016, 07:54:22 am »
diagram.StyleEx: ShowDiagramInPages

See p. 70 of my Inside book.

q.

Unnamed EA User

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: VBScript access to all diagram properties options?
« Reply #2 on: July 13, 2016, 08:07:05 am »
diagram.StyleEx: ShowDiagramInPages

See p. 70 of my Inside book.

q.

Thank you for the help!! This solved my problem.


Out of curiosity, where is StyleEx ever documented?
« Last Edit: July 13, 2016, 08:11:53 am by Unnamed EA User »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: VBScript access to all diagram properties options?
« Reply #3 on: July 13, 2016, 04:58:23 pm »
In my book  ;)

q.

Unnamed EA User

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: VBScript access to all diagram properties options?
« Reply #4 on: July 13, 2016, 11:46:37 pm »
In my book  ;)

q.

Haha fair enough! I may have to consider getting your book then  :)