Repository.BlockSim.ImportBlockSimXMLFile

Synthesis API allows the programmer to import XML files into a current project of BlockSim. The page contains the logic of that importation. All XML files must first be in XML format before they can be successfully imported. This page will demonstrate the importation process.

Syntax

 * ImportBlockSimXMLFile( XMLFile )

Parameters
 * XMLFile: The path for the XML file to import.

Usage Example
' ' Success= Success = MyRepository.ConnectToSQLRepository("SQLServerPath", "SQLDatabaseName") ' SuccessImportXML SuccessImportXML = MyRepository.ImportBlockSimXMLFile("XMLFilePath")

Reformatted Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToSQLRepository("SQLServerPath", "SQLDatabaseName")

Dim SuccessImportXML As Boolean SuccessImportXML = MyRepository.ImportBlockSimXMLFile("XMLFilePath")