Skip to main content
Namespace: VM.API.Post.Operations
Assembly: VM.API.Post.Operations.dll
Provides methods for performing durability analysis operations.

Inheritance

object ← DurabilityAnalysis

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.

Remarks

This class acts as a static API for executing fatigue analysis and managing related operations.

Methods

RunFatigueAnalysis(IDurabilityAnalysisParameter)

Runs a fatigue analysis using the specified parameters.

Parameters

parameter IDurabilityAnalysisParameter The parameters required for the fatigue analysis.

Returns

bool True if the analysis is successful; otherwise, false.

Examples

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

Remarks

This method delegates the fatigue analysis execution to the main view model handler.

Exceptions

Exception Thrown when the handler is not initialized.

RunFatigueAnalysisAndGenerateContours(IDurabilityAnalysisParameter)

Runs a fatigue analysis and generates contours using the specified parameters.

Parameters

parameter IDurabilityAnalysisParameter The parameters required for the fatigue analysis and contour generation.

Returns

bool True if the operation is successful; otherwise, false.

Examples

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

Remarks

This method performs both fatigue analysis and contour generation by delegating to the main view model handler.

Exceptions

Exception Thrown when the handler is not initialized.

SetFatiguePath(string, string)

Sets the fatigue path for a document.

Parameters

documentFilePath string The file path of the document. fatigueFilePath string The name of the fatigue result.

Examples

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

Remarks

This method retrieves the document using the provided file path and sets its fatigue name.

Exceptions

Exception Thrown when the document is not found.