Assembly: VM.Operations.Post.dll Interface representing information for the dynamic analysis result view model.
Implements
IOperationAnalysisResultViewModel, IOperationsBaseMethods
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 theCreateExpression method:
Remarks
This method allows the creation of a new function expression within the Motion Postprocessor. ThenewName 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 theCreateVectorDisplay method:
Remarks
This method allows the creation of a vector display based on the specified entity and characteristic. TheentityName 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 theSetAnimationFrame method:
Remarks
This method sets the specified number of frames for the animation. The number of frames to load is specified by thenFrames 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 theSetAnimationFrame method:
Remarks
This method sets only the specified frames for the animation, as indicated by thestateIDs parameter.