Repository.BlockSim.ExportBlockSimXMLFile: Difference between revisions
Jump to navigation
Jump to search
Alex Ulanov (talk | contribs) No edit summary |
Alex Ulanov (talk | contribs) |
||
Line 20: | Line 20: | ||
'{{APIComment|Export the XML File out of the Synthesis repository.}} | '{{APIComment|Export the XML File out of the Synthesis repository.}} | ||
{{APIPrefix|Dim}}SuccessExportXML{{APIPrefix|As Boolean}} | {{APIPrefix|Dim}}SuccessExportXML{{APIPrefix|As Boolean}} | ||
SuccessExportXML = MyRepository.[[Repository.ExportBlockSimXMLFile|ExportBlockSimXMLFile]]("XML_File_Name") | SuccessExportXML = MyRepository.BlockSim.[[Repository.ExportBlockSimXMLFile|ExportBlockSimXMLFile]]("XML_File_Name") |
Revision as of 16:48, 22 May 2015
This Synthesis API allows the programmer to export XML files out of a current project of BlockSim.
Syntax
- ExportBlockSimXMLFile( FileName As String ) As Boolean
Parameters
- FileName: XML file name.
Returns True if successful, otherwise returns False.
Usage Example
' Declare a new repository connection class. Private WithEvents MyRepository As New Repository ' Connect to the Synthesis repository. DimSuccessAs Boolean=False Success = MyRepository.ConnectToSQLRepository("SQLServerPath", "SQLDatabaseName") ' Export the XML File out of the Synthesis repository. DimSuccessExportXMLAs Boolean SuccessExportXML = MyRepository.BlockSim.ExportBlockSimXMLFile("XML_File_Name")