    

 ## On this page

  

 

 # Interface IOperationsCSYSViewModel

 Last update: 09.03.2026 

<a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel"></a>

Namespace: [VM.Operations.Post.Interfaces](VM.Operations.Post.Interfaces.md)  
Assembly: VM.Operations.Post.dll

Interface representing information for the coordinate system view model.

```csharp
public interface IOperationsCSYSViewModel

```

## 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.

```python
# IOperationsCSYSViewModel.py
import sys

# Get the current file's path and set the path for external modules.
current_dir = __file__.rsplit('\\', 1)[0]
external_modules_path = current_dir + '\\..\\..\\Modules'
sys.path.append(external_modules_path)

# Import necessary modules
from OperationAPI import *

# Start the headless application interface
applicationHandler = ApplicationHandler()

# Import result file
result_file_path = get_result_file_path()

# Set array about result file
filepaths = List[str]()
filepaths.Add(result_file_path)

# Open about result files
# This will open the result file in the application.
# When the result is first opened, a Page is created and an Animation View is created on that Page.
applicationHandler.AddDocument(filepaths)

# Get all created pages.
# This retrieves all pages created in the application.
pages = applicationHandler.GetPages()

findViews = list()
for page in pages :
    views = page.GetViews()
    animationViews = [view for view in views if view.ViewType == ViewType.Animation]
    for animationView in animationViews :
        if animationView.DocumentFilePath == result_file_path and animationView.AnalysisResultType == AnalysisResultType.Dynamics :
            findViews.append(animationView)

viewCount = len(findViews)
if viewCount > 0 :
    animationview = findViews[0]
    # Create a Coordinate System
    # Name - Set the name of instance.
    # ParentInfo - Specifies The path of an parent entity.
    animationview.CreateCoordinateSystem("Crank_CSYS", "Crank")
    animationview.CreateCoordinateSystem("Crank_CM_CSYS", "Crank/CM")
    animationview.CreateCoordinateSystem("FEBody_01_CSYS", "FEBody_01/Node/487")

    # Get instance of entity
    # The GetViewModelByName method retrieves the target by its name.
    csys = animationview.GetViewModelByName("Crank_CSYS")
    csys.FullName = "Crank_002_CSYS"
    csys.MarkerSize = 10
    csys.ParentInfo = "Crank_002"

    csys.TransformationOffsetPosition = Vector(0,10,0)
    csys.TransformationOffsetAngle = Vector(1,0,0)
    csys.TransformationOffsetRotationType = RotationTypes.FixedAngle
    csys.TransformationOffsetRotationAxis = RotationAxes.XYX

    if csys.IsVisibleLabel == True:
        csys.LabelTextColor = Colors.Red
        csys.IsVisibleLabelBackground = False
        csys.LabelBackGroundColor = Colors.Red

    if  csys.IsVisibleTrajectory == True:
        csys.TrajectoryColor = Colors.Red

    if csys.CurrentCoordinateSystemType == GeneralMarkerType.CYLINDRICAL:
        csys.CylindricalAxisR = CoordinateType.X
        csys.CylindricalAxisZ = CoordinateType.Y
    elif csys.CurrentCoordinateSystemType == GeneralMarkerType.SPHERICAL:
        csys.SphericalAxis1 = CoordinateType.X
        csys.SphericalAxis2 = CoordinateType.Y

# Get all created pages.
# This retrieves all pages created in the application.
pages = applicationHandler.GetPages()
for page in pages :
    page.Close()

# Close Document
applicationHandler.CloseDocument(result_file_path)

```

## Properties

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_CurrentCoordinateSystemType"></a> CurrentCoordinateSystemType

Gets or sets the type of the coordinate system.

```csharp
GeneralMarkerType CurrentCoordinateSystemType { get; set; }

```

#### Property Value

GeneralMarkerType

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the type of the coordinate system. In the UI, this property is represented under the "Trajectory" category with the property name "Type". The available options are:

- 
- 
- 

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_CylindricalAxisR"></a> CylindricalAxisR

Gets or sets the Axis R value for a cylindrical coordinate system.

```csharp
CoordinateType CylindricalAxisR { get; set; }

```

#### Property Value

CoordinateType

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the Axis R value for a cylindrical coordinate system. It is only applicable when the  property is set to . In the UI, this property is represented under the "Transformation Information" category with the property name "Axis R". The available options are:

- 
- 
- 

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_CylindricalAxisZ"></a> CylindricalAxisZ

Gets or sets the Axis Z value for a cylindrical coordinate system.

```csharp
CoordinateType CylindricalAxisZ { get; set; }

```

#### Property Value

CoordinateType

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the Axis Z value for a cylindrical coordinate system. It is only applicable when the  property is set to . In the UI, this property is represented under the "Transformation Information" category with the property name "Axis Z". The available options are:

- 
- 
- 

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_FullName"></a> FullName

Gets or sets the full name of the coordinate system.

```csharp
string FullName { get; set; }

```

#### Property Value

string

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

Use this property to specify or retrieve the full name of the coordinate system.

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_IsVisible"></a> IsVisible

Gets or sets a value indicating whether the marker is visible.

```csharp
bool IsVisible { get; set; }

```

#### Property Value

bool

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property determines whether the marker is visible. In the UI, this property is represented under the "Marker" category with the property name "Visible".

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_IsVisibleLabel"></a> IsVisibleLabel

Gets or sets a value indicating whether the label is visible.

```csharp
bool IsVisibleLabel { get; set; }

```

#### Property Value

bool

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property determines whether the label is visible. In the UI, this property is represented under the "Label" category with the property name "Visible".

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_IsVisibleLabelBackground"></a> IsVisibleLabelBackground

Gets or sets a value indicating whether the background color of the label is visible.

```csharp
bool IsVisibleLabelBackground { get; set; }

```

#### Property Value

bool

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property determines whether the background color of the label is visible. It only works when the  property is set to `true`. In the UI, this property is represented under the "Label" category with the property name "Background Visibility".

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_IsVisibleTrajectory"></a> IsVisibleTrajectory

Gets or sets a value indicating whether the trajectory is visible.

```csharp
bool IsVisibleTrajectory { get; set; }

```

#### Property Value

bool

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property determines whether the trajectory is visible and subsequently whether the  property is applied. In the UI, this property is represented under the "Trajectory" category with the property name "Visible".

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_LabelBackGroundColor"></a> LabelBackGroundColor

Gets or sets the background color of the label.

```csharp
Color LabelBackGroundColor { get; set; }

```

#### Property Value

Color

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the background color of the label. The background color is only displayed when both the  and  properties are set to `true`. In the UI, this property is represented under the "Label" category with the property name "Background Color".

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_LabelTextColor"></a> LabelTextColor

Gets or sets the font color of the label.

```csharp
Color LabelTextColor { get; set; }

```

#### Property Value

Color

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the font color of the label. In the UI, this property is represented under the "Label" category with the property name "Font Color".

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_MarkerSize"></a> MarkerSize

Gets or sets the size of the marker.

```csharp
double MarkerSize { get; set; }

```

#### Property Value

double

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the size of the marker.

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_ParentInfo"></a> ParentInfo

Gets or sets the parent information of the coordinate system.

```csharp
string ParentInfo { get; set; }

```

#### Property Value

string

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

Use this property to specify or retrieve the information about the parent that contains the coordinate system.

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_SphericalAxis1"></a> SphericalAxis1

Gets or sets the Axis ρ value for a spherical coordinate system.

```csharp
CoordinateType SphericalAxis1 { get; set; }

```

#### Property Value

CoordinateType

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the Axis ρ value for a spherical coordinate system. It is only applicable when the  property is set to . In the UI, this property is represented under the "Transformation Information" category with the property name "Axis ρ". The available options are:

- None
- Each Part
- Whole

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_SphericalAxis2"></a> SphericalAxis2

Gets or sets the Axis Ø value for a spherical coordinate system.

```csharp
CoordinateType SphericalAxis2 { get; set; }

```

#### Property Value

CoordinateType

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the Axis Ø value for a spherical coordinate system. It is only applicable when the  property is set to . In the UI, this property is represented under the "Transformation Information" category with the property name "Axis Ø". The available options are:

- None
- Each Part
- Whole

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_TrajectoryColor"></a> TrajectoryColor

Gets or sets the trajectory color of the marker.

```csharp
Color TrajectoryColor { get; set; }

```

#### Property Value

Color

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property allows you to set the trajectory color of the marker. The trajectory color is only displayed when the  property is set to `true`. In the UI, this property is represented under the "Trajectory" category with the property name "Color".

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_TransformationOffsetAngle"></a> TransformationOffsetAngle

Gets or sets the offset angle vector relative to the reference orientation.

```csharp
Vector TransformationOffsetAngle { get; set; }

```

#### Property Value

Vector

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property adjusts the orientation by applying the specified angular offset to the reference orientation. The offset can be applied using either the  and  options, which affect how the offset is calculated. Additionally, the offset is influenced by the chosen rotation type and rotation axis, resulting in different transformations based on these parameters.

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_TransformationOffsetPosition"></a> TransformationOffsetPosition

Gets or sets the offset position vector relative to a specified reference position.

```csharp
Vector TransformationOffsetPosition { get; set; }

```

#### Property Value

Vector

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property adjusts the position by applying the specified offset to the reference position, known as "Position." The offset is defined as a vector and can be used to translate the position in 3D space.

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_TransformationOffsetRotationAxis"></a> TransformationOffsetRotationAxis

Gets or sets the rotation axis used for applying rotational transformations.

```csharp
RotationAxes TransformationOffsetRotationAxis { get; set; }

```

#### Property Value

RotationAxes

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property defines the axis around which rotational transformations are applied. It allows you to specify whether the rotation should occur around the X, Y, or Z axis, or a combination of these axes, depending on the requirements of the transformation. The available options are:

- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 

### <a id="VM_Operations_Post_Interfaces_IOperationsCSYSViewModel_TransformationOffsetRotationType"></a> TransformationOffsetRotationType

Gets or sets the type of rotation used for applying rotational transformations.

```csharp
RotationTypes TransformationOffsetRotationType { get; set; }

```

#### Property Value

RotationTypes

#### Examples

For an example that includes this property, see the [Interface IOperationsCSYSViewModel](VM.Operations.Post.Interfaces.IOperationsCSYSViewModel.md).

#### Remarks

This property determines how rotational transformations are applied by specifying the type of rotation. It allows you to choose between different rotation types, such as Euler angles or fixed angles, depending on the requirements of the transformation process. The available options are:

- 
-