Exports data from the current BlockSim project to a new XML file. Returns a Boolean value; when true, indicates a successful export.
Remarks: The XML file can include the block properties and information on how the blocks are connected in a reliability block diagram or fault tree diagram. Data on visual aspects, such as diagram style settings, block style settings, etc., are not supported.
- Required. String. The save location and name for the new XML file.
This example assumes that reliability block diagrams exist in the first available project in the repository.
VBA|VB.NET 'Declare a new Repository object and connect to a Synthesis repository. Dim MyRepository As New Repository MyRepository.ConnectToAccessRepository("C:\RSRepository1.rsr10") 'Export the data from project #1 in the repository. Name the file "MyBlockSimData.xml" and save it in the C: drive. MyRepository.Project.SetCurrentProject(1) MyRepository.BlockSim.ExportBlockSimXMLFile("C:\MyBlockSimData.xml")