Book a Demo

Author Topic: Change Page Settings of the Diagram  (Read 4084 times)

thea

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Change Page Settings of the Diagram
« on: March 24, 2011, 03:58:16 pm »
Hello,

I don't know if this has been posted already or not.  I tried searching for a similar topic but with no succes.

I need to set the diagram page to Landscape and its paper size to A3... How do I do this?

Thanks! ;D
---------------------------------------------------------------------------------------------------------------
If your tried 10x and failed, try again.  We'll never know if we'll get it right on our next try.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change Page Settings of the Diagram
« Reply #1 on: March 24, 2011, 09:56:00 pm »
Dbl click dia
Diagram
Advanced
Page Setup

which is already hard to find. Or do you want to do that via automation? In that case you have to tweak the SQL database (t_diagram most likely and there likely inside PDATA)

q.
« Last Edit: March 24, 2011, 10:00:21 pm by qwerty »

thea

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Change Page Settings of the Diagram
« Reply #2 on: March 25, 2011, 01:25:19 pm »
Quote
... Or do you want to do that via automation? In that case you have to tweak the SQL database (t_diagram most likely and there likely inside PDATA)

q.

Yes, I want to do it programmatically/ via automation.  Sorry for being such a noob but where do I find the database?  I'm working on importing Visio files to EA using C#.NET but I've never tweaked it database nore even know where it is. Heheh..  :P
---------------------------------------------------------------------------------------------------------------
If your tried 10x and failed, try again.  We'll never know if we'll get it right on our next try.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change Page Settings of the Diagram
« Reply #3 on: March 25, 2011, 07:32:55 pm »
Your EAP files are actually MS Access. Also you can host the repository on SQL servers.

Tweaking the DB means using repository.execute(sql). You will find more info searching the Automation board.

q.
« Last Edit: March 25, 2011, 07:36:47 pm by qwerty »