Skip to main content
Namespace: VM.API.Pre.Car
Assembly: VM.API.Pre.Car.dll
This class implements APIs for simulation in car.

Inheritance

object ← CarSimulationAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

ExportDFG(TestRigDocument, string)

Export DFG file

Parameters

document TestRigDocument The TestRigDocument for exporting DFG file. If null, the active document will be used. targetPath string The file path to export DFG file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFG(VehicleTestRigDocument, string)

Export DFG file

Parameters

document VehicleTestRigDocument The VehicleTestRigDocument for exporting DFG file. If null, the active document will be used. targetPath string The file path to export DFG file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFG(TireTestRigDocument, string)

Export DFG file

Parameters

document TireTestRigDocument The TireTestRigDocument for exporting DFG file. If null, the active document will be used. targetPath string The file path to export DFG file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFG(FourPostTestRigDocument, string)

Export DFG file

Parameters

document FourPostTestRigDocument The FourPostTestRigDocument for exporting DFG file. If null, the active document will be used. targetPath string The file path to export DFG file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFG(ShimmyJudderTestRigDocument, string)

Export DFG file

Parameters

document ShimmyJudderTestRigDocument The ShimmyJudderTestRigDocument for exporting DFG file. If null, the active document will be used. targetPath string The file path to export DFG file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFS(TestRigDocument, string)

Export DFS file

Parameters

document TestRigDocument The TestRigDocument for exporting DFS file. If null, the active document will be used. targetPath string The file path to export DFS file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFS(VehicleTestRigDocument, string)

Export DFS file

Parameters

document VehicleTestRigDocument The VehicleTestRigDocument for exporting DFS file. If null, the active document will be used. targetPath string The file path to export DFS file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFS(TireTestRigDocument, string)

Export DFS file

Parameters

document TireTestRigDocument The TireTestRigDocument for exporting DFS file. If null, the active document will be used. targetPath string The file path to export DFS file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFS(FourPostTestRigDocument, string)

Export DFS file

Parameters

document FourPostTestRigDocument The FourPostTestRigDocument for exporting DFS file. If null, the active document will be used. targetPath string The file path to export DFS file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFS(ShimmyJudderTestRigDocument, string)

Export DFS file

Parameters

document ShimmyJudderTestRigDocument The ShimmyJudderTestRigDocument for exporting DFS file. If null, the active document will be used. targetPath string The file path to export DFS file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFSXML(TestRigDocument, string)

Export DFSXML file

Parameters

document TestRigDocument The TestRigDocument for exporting DFSXML file. If null, the active document will be used. targetPath string The file path to export DFSXML file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFSXML(VehicleTestRigDocument, string)

Export DFSXML file

Parameters

document VehicleTestRigDocument The VehicleTestRigDocument for exporting DFSXML file. If null, the active document will be used. targetPath string The file path to export DFSXML file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFSXML(TireTestRigDocument, string)

Export DFSXML file

Parameters

document TireTestRigDocument The TireTestRigDocument for exporting DFSXML file. If null, the active document will be used. targetPath string The file path to export DFSXML file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFSXML(FourPostTestRigDocument, string)

Export DFSXML file

Parameters

document FourPostTestRigDocument The FourPostTestRigDocument for exporting DFSXML file. If null, the active document will be used. targetPath string The file path to export DFSXML file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportDFSXML(ShimmyJudderTestRigDocument, string)

Export DFSXML file

Parameters

document ShimmyJudderTestRigDocument The ShimmyJudderTestRigDocument for exporting DFSXML file. If null, the active document will be used. targetPath string The file path to export DFSXML file exclude file extension.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportMotionFiles(TestRigDocument, string, bool, bool, bool, bool)

Export motion files.

Parameters

document TestRigDocument The TestRigDocument for exporting motion files. If null, the active document will be used. targetPath string The file path to export motion files exclude file extension. writeDFS bool The flag for whether to write on dfs or not. writeXML bool The flag for whether to write on dfsxml or not. writeDFG bool The flag for whether to write on dfg or not. includeReferenceFiles bool The flag for whether to include reference files or not.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportMotionFiles(VehicleTestRigDocument, string, bool, bool, bool, bool)

Export motion files.

Parameters

document VehicleTestRigDocument The VehicleTestRigDocument for exporting motion files. If null, the active document will be used. targetPath string The file path to export motion files exclude file extension. writeDFS bool The flag for whether to write on dfs or not. writeXML bool The flag for whether to write on dfsxml or not. writeDFG bool The flag for whether to write on dfg or not. includeReferenceFiles bool The flag for whether to include reference files or not.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportMotionFiles(TireTestRigDocument, string, bool, bool, bool, bool)

Export motion files.

Parameters

document TireTestRigDocument The TireTestRigDocument for exporting motion files. If null, the active document will be used. targetPath string The file path to export motion files exclude file extension. writeDFS bool The flag for whether to write on dfs or not. writeXML bool The flag for whether to write on dfsxml or not. writeDFG bool The flag for whether to write on dfg or not. includeReferenceFiles bool The flag for whether to include reference files or not.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportMotionFiles(FourPostTestRigDocument, string, bool, bool, bool, bool)

Export motion files.

Parameters

document FourPostTestRigDocument The FourPostTestRigDocument for exporting motion files. If null, the active document will be used. targetPath string The file path to export motion files exclude file extension. writeDFS bool The flag for whether to write on dfs or not. writeXML bool The flag for whether to write on dfsxml or not. writeDFG bool The flag for whether to write on dfg or not. includeReferenceFiles bool The flag for whether to include reference files or not.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

ExportMotionFiles(ShimmyJudderTestRigDocument, string, bool, bool, bool, bool)

Export motion files.

Parameters

document ShimmyJudderTestRigDocument The ShimmyJudderTestRigDocument for exporting motion files. If null, the active document will be used. targetPath string The file path to export motion files exclude file extension. writeDFS bool The flag for whether to write on dfs or not. writeXML bool The flag for whether to write on dfsxml or not. writeDFG bool The flag for whether to write on dfg or not. includeReferenceFiles bool The flag for whether to include reference files or not.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘targetPath’ arguments are empty.

RunSimulation(TestRigDocument, SimulationParameter)

Run simulation.

Parameters

document TestRigDocument The TestRigDocument for simulate. If null, the active document will be used. simulationParameter SimulationRun.SimulationParameter The simulation parameter.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.

RunSimulation(VehicleTestRigDocument, SimulationParameter)

Run simulation.

Parameters

document VehicleTestRigDocument The VehicleTestRigDocument for simulate. If null, the active document will be used. simulationParameter SimulationRun.SimulationParameter The simulation parameter.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.

RunSimulation(TireTestRigDocument, SimulationParameter)

Run simulation.

Parameters

document TireTestRigDocument The TireTestRigDocument for simulate. If null, the active document will be used. simulationParameter SimulationRun.SimulationParameter The simulation parameter.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.

RunSimulation(FourPostTestRigDocument, SimulationParameter)

Run simulation.

Parameters

document FourPostTestRigDocument The FourPostTestRigDocument for simulate. If null, the active document will be used. simulationParameter SimulationRun.SimulationParameter The simulation parameter.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.

RunSimulation(ShimmyJudderTestRigDocument, SimulationParameter)

Run simulation.

Parameters

document ShimmyJudderTestRigDocument The ShimmyJudderTestRigDocument for simulate. If null, the active document will be used. simulationParameter SimulationRun.SimulationParameter The simulation parameter.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.