Skip to main content
Namespace: VM.Operations.Post.Interfaces
Assembly: VM.Operations.Post.dll
Interface representing information for the dynamic analysis result view model.

Implements

IOperationAnalysisResultViewModel, IOperationsBase

Methods

CreateExpression(string)

Creates a new function expression in the Motion Postprocessor.

Parameters

newName string The name of the new function expression to be created.

Returns

IOperationsPythonExpressionViewModel An instance of IOperationsPythonExpressionViewModel representing the created function expression.

Examples

The following example demonstrates how to use the CreateExpression method:

Remarks

This method allows the creation of a new function expression within the Motion Postprocessor. The newName parameter specifies the name of the new function expression instance.

CreateVectorDisplay(string, string)

Creates a vector display for the specified entity and characteristic.

Parameters

entityName string The name of the target entity for the vector display. characteristic string The name of the characteristic. Refer to the UI for Vector Display for available characteristics.

Returns

IOperationsVectorDisplayBaseViewModel An instance of IOperationsVectorDisplayBaseViewModel representing the created vector display.

Examples

The following example demonstrates how to use the CreateVectorDisplay method:

Remarks

This method allows the creation of a vector display based on the specified entity and characteristic. The entityName parameter specifies the target entity for the vector display. The characteristic parameter specifies the characteristic to be displayed, which can be referred to in the UI for Vector Display.

SetAnimationFrame(int)

Sets a specified number of animation frames.

Parameters

nFrames int The number of frames to load. This parameter should be within the range of 0 to the total number of frames available.

Examples

The following example demonstrates how to use the SetAnimationFrame method:

Remarks

This method sets the specified number of frames for the animation. The number of frames to load is specified by the nFrames parameter.

SetAnimationFrame(IEnumerable<int>)

Sets the specified animation frames based on the provided state IDs.

Parameters

stateIDs IEnumerable<int> An enumerable collection of state IDs representing the frames to load.

Examples

The following example demonstrates how to use the SetAnimationFrame method:

Remarks

This method sets only the specified frames for the animation, as indicated by the stateIDs parameter.