DIAdem Help

Collection: DataLinks <Analysis Automation>

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

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:

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")
  Next
' Enter your analysis commands
End Sub

Properties

Count

Log in to get a better experience