DIAdem Help

Collection: Arguments <SystemLink>

  • Updated2024-09-12
  • 1 minute(s) read

Collection: Arguments <SystemLink>

The Arguments <SystemLink> object provides the list of arguments in Data Preparation or Analysis Automation.

The following example opens a layout and the elements you want to analyze, and then exports the layout as a PDF file:

VBScriptPython

 

Sub On_Run_AnalysisProcedure(oContext) 
  Dim oMyDataLinks, oMyDataLink
  Set oMyDataLinks = oContext.DataLinks
  Call Report.LoadLayout(oContext.Procedure.ScriptPath & "MyLayout.tdr")
  For Each oMyDataLink in oMyDataLinks
    Call Navigator.LoadData(oMyDataLink)
    ' Enter your analysis commands    
    Call Report.Sheets.ExportToPDF(oContext.Procedure.Arguments.Item("ResultsPath").Value & Data.Root.Properties("name").Value & ".pdf", True)
  Next
' Enter your analysis commands
End Sub

Properties

Item

Log in to get a better experience