Skip to main content
Namespace: VM.API.Post.Operations
Assembly: VM.API.Post.Operations.dll
A utility class that provides methods for exporting various types of data. This class is designed to be extended with additional export functionalities in the future.

Inheritance

object ← Export

Examples

For an example that includes information about interfaces, see this example. To view the examples, refer to the location of the ‘Install_Path\Motion\Document\Postprocessor API for Python.zip’ file.

Methods

ExportContourResultToFile(string, string, IList<string>, bool, ContourMappingType, string, AnalysisResultType, FileFormatType)

Exports contour results to a specified file.

Parameters

documentFilePath string The file path where the document is located. resultFilePath string The file path where the fatigue results will be saved. targetEntities IList<string> A list of target entities for which the contour results will be exported. fullFrame bool A boolean indicating whether to export the full frame or not. contourMappingType ContourMappingType The type of contour mapping to be applied during export. Supported types:
  • None
  • FENode
  • FEElement
  • FEElementNode
  • FEMaterial
  • BeamGroup
  • Contact
  • ChainedSystem
  • Usersubroutine
combinedPath string A combination of Characteristic and Component. analysisResultType AnalysisResultType The type of analysis result to be exported. Defaults to Dynamics. Supported types:
  • Dynamics
  • Eigenvalue
  • Initial
  • LinearStatics
  • Statics
  • Thermal
  • ModeContribution
  • Nothing
formatType FileFormatType The file format type for the exported results. Defaults to TXT. Supported types:
  • TXT: Exports the results in plain text format.
  • BINARY: Exports the results in binary format.

Examples

For an example that includes this property, see the Export.

Remarks

This method exports contour results for the specified target entities to a file in the desired format. It requires the active slot view model to be an animation view model with available frames.

Exceptions

Exception Thrown when the active slot view model is not an animation view model.