Assembly: VM.API.Pre.dll This class implements APIs for simulation.
Inheritance
object ← SimulationAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
ExportDFG(DocumentAnalysis, string)
Export DFG fileParameters
document DocumentAnalysis
The DocumentAnalysis for exporting DFG file. If null, the active document will be used.
targetPath string
The file path to export DFG file exclude file extension.
ExportDFS(DocumentAnalysis, string)
Export DFS fileParameters
document DocumentAnalysis
The DocumentAnalysis for exporting DFS file. If null, the active document will be used.
targetPath string
The file path to export DFS file exclude file extension.
ExportDFSXML(DocumentAnalysis, string)
Export DFSXML fileParameters
document DocumentAnalysis
The DocumentAnalysis for exporting DFSXML file. If null, the active document will be used.
targetPath string
The file path to export DFSXML file exclude file extension.
ExportMotionFiles(DocumentAnalysis, string, bool, bool, bool, bool)
Export motion files.Parameters
document DocumentAnalysis
The DocumentAnalysis 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.
RunSimulation(DocumentAnalysis, SimulationParameter)
Run simulation.Parameters
document DocumentAnalysis
The DocumentAnalysis for simulate. If null, the active document will be used.
simulationParameter SimulationRun.SimulationParameter
The simulation parameter.
SetAutoPostRunner(SubSystemDocument, bool)
Sets the solver commands.Parameters
subSystemDocument SubSystemDocument
The document to set the solver commands.
autoPostRunner bool
The flag of auto post runner.
SetDynamicNumericalDamping(SubSystemDocument, double)
Sets the dynamic numerical damping.Parameters
subSystemDocument SubSystemDocument
The document to set the dynamic numerical damping.
numericalDamping double
The value of numerical damping.
SetSolverCommands(SubSystemDocument, string)
Sets the solver commands.Parameters
subSystemDocument SubSystemDocument
The document to set the solver commands.
commands string
The value of solver commands.
SetStaticNumericalDamping(SubSystemDocument, double)
Sets the static numerical damping.Parameters
subSystemDocument SubSystemDocument
The document to set the static numerical damping.
numericalDamping double
The value of numerical damping.
SetThermalNumericalDamping(SubSystemDocument, double)
Sets the thermal numerical damping.Parameters
subSystemDocument SubSystemDocument
The document to set the thermal numerical damping.
numericalDamping double
The value of numerical damping.