Collection: DataLinks <Analysis Automation>
- Updated2024-09-12
- 1 minute(s) read
(ContextFinalize
Collection: DataLinks <Analysis Automation>
Collection of all the elements of a search. If you execute a comparative evaluation, the DataLinks <Analysis Automation> collection contains all elements of the search. Otherwise, DIAdem runs the search simultaneously, and the DataLinks <Analysis Automation> collection always contains exactly one element. If files were not indexed successfully, they are not in this collection.
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") Next ' Enter your analysis commands End Sub
Properties
Methods
Returned From
ContextFinalize <Analysis Automation>.DataLinks | ContextInitialize <Analysis Automation>.DataLinks | ContextRun <Analysis Automation>.DataLinks