Process Pipeline Files - Intergraph I-Data Integrator - Help - Hexagon PPM

SmartPlant Isometrics I-Data Integrator Help

Language
English
Product
Intergraph I-Data Integrator
Search by Category
Help
I-Data Integrator Version
7.1(2014R1)

You can run I-Data Integrator interactively or directly from the command line, using a set of switches to specify specific actions that you want the software to perform. Alternatively, you can use the automation interface to instantiate I-Data Integrator using another application.

Automation Interface

The automation interface allows I-Data Integrator to be instantiated by another application more efficiently than using the command line interface. You trigger the data generation process using an ExecuteConfigFile method.

Before using the automation interface, you must first register it. For more information, see Register the automation interface.

.NET Implementation

Information applies to Visual C++, C# and VB.NET. Use the Application2 object. The key function of the interface is:

  • ExecuteConfigFile (String) - All data required to run I-Data Integrator is contained in the configuration file. All the previous properties on the interface should be considered obsolete, but have been retained for backward compatibility.

Visual Basic Implementation

Information applies to Visual Basic v6.0, using the obsolete Application object. On the Project > References tab, select Alias I-Data Integrator Application.

Properties of the Automation Interface

  • ConfigFile (String) specifies the path to the XML configuration file. This is equivalent to the command line /u option.

  • ErrorString (String, Readonly) returns a string containing a description of the problem if an error occurs.

Events Raised by the Interface

  • StatusChange (strText As String) - This event is raised when the status bar is updated. The strText parameter is set to the string being posted in the status bar. This is intended to allow a client application to show progress messages.

Private WithEvents appIDI As IDataIntegrator.Application
Private Sub appIDI_StatusChange(strText As String)
' Status change event
Label1 = strText
DoEvents
End Sub

  • ErrorInGeneratedData (strError As String) -This event is raised if the software finds an error during its Generate step, and allows the calling application to flag this to the user. The strError string holds the error description.

    • Example code (VB.NET)

Dim appIDI As IDataIntegrator.Application
Set appIDI = New IDataIntegrator.Application
appIDI.ExecuteConfigFile strXmlFilePath

  • Example code (VB6)

    Dim appIDI As IDataIntegrator.Application
    Set appIDI = New IDataIntegrator.Application
    ‘ Set properties
    appIDI.StyleFile = "c:\sampleproj\sampleproject\ap\isogen.fls"
    appIDI.Clear = False
    appIDI.ConfigFile = "c:\users\dev\isogen utilities\i-data integrator\ap.xml"
    appIDI.Format = "Access"
    appIDI.LogFile = "c:\temp\appIDI.log"
    appIDI.OutputFolder = "c:\sampleproj\sampleproject\ap\reports"
    ' Execute the application
    appIDI.Execute

I-Data Integrator Main window options

What do you want to do?