DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem script

Solved!
Go to solution

Hi Forum,

I am encountering a simple problem with DIAdem script: when automatically creating a report, I am not able to change the orientation of my report by script. Code is as follows:

 

Call ReportMasterLoad("D:\Projects\bdrimmel\iTest\UniPlot\DIAdem\\DIAdem_DRef_Master.TDRM")

Call PicDelete() ' DIAdem Graph löschen

Call ReportMasterAdd("D:\Projects\bdrimmel\iTest\UniPlot\DIAdem\\DIAdem_DRef_Master.TDRM")

Call GraphSheetNew("Pussnelda" & intSheetNo)

PicPageOrient = "portrait"

Call PicUpdate

 

 

Changing PicPageOrient would not affect my report layout at all. Is something missing there?

0 Kudos
Message 1 of 3
(4,544 Views)

Hi MrDan,

 

Try this:

Disable your masterlayout for this page. After that it should be possible to change the orientation of your layout.

 

You can try these commands:

 

NoMasterLayout="TRUE"
PicUseLocalParam="TRUE"
PicPageOrient="portrait"

Hope this helps.

 

0 Kudos
Message 2 of 3
(4,534 Views)
Solution
Accepted by topic author MrDan

I know -  this is not directly connected to this problem- but maybe it is of interest for some users:

 

http://zone.ni.com/reference/en-XX/help/370859H-01/cmdvarlist/cmdvarlist/varlist_report/

0 Kudos
Message 3 of 3
(4,530 Views)