Assembly: VM.API.Pre.GearTrain.dll This class implements APIs for simulation.
Inheritance
object ← GearTrainSimulationAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
ExportDFG(GearTrainDocument, string)
Export DFS fileParameters
document GearTrainDocument
The GearTrainDocument 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(GearTrainDocument, string)
Export DFS fileParameters
document GearTrainDocument
The GearTrainDocument 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(GearTrainDocument, string)
Export DFSXML fileParameters
document GearTrainDocument
The GearTrainDocument 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.RunSimulation(GearTrainDocument, SimulationParameter)
Run simulation.Parameters
document GearTrainDocument
The GearTrainDocument for simulate. If null, the active document will be used.
simulationParameter SimulationRun.SimulationParameter
The simulation parameter.