Object: Argument <SystemLink>
- Updated2024-09-12
- 1 minute(s) read
(ContextFinalize
Object: Argument <SystemLink>
The Argument <SystemLink> object provides an argument 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:
VBScript | Python |
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
Description | Name | Type | Value
Returned From
Arguments <SystemLink>.Add | Arguments <SystemLink>.GetOrCreate | Arguments <SystemLink>.Item