> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IOperationsContourViewModel

Namespace: [VM.Operations.Post.Interfaces](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces)\
Assembly: VM.Operations.Post.dll

Interface representing information for the contour view model.

```csharp theme={null}
public interface IOperationsContourViewModel
```

## Properties

### AutoRange

Gets or sets a value indicating whether the maximum and minimum range values are set automatically.

```csharp theme={null}
bool AutoRange { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Examples

The following example demonstrates how to use the `AutoRange` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.AutoRange = False;
```

#### Remarks

Use this property to specify or retrieve whether the maximum and minimum values of the range are set automatically.

### Component

Gets or sets the contour component.

```csharp theme={null}
string Component { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### Examples

The following example demonstrates how to use the `Component` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.Component = "Sum";
```

#### Remarks

Use this property to specify or retrieve the contour component. The available components can be referred to in the UI Contour ActionPanel.

### ComponentList

Gets the list of available components.

```csharp theme={null}
IEnumerable<string> ComponentList { get; }
```

#### Property Value

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

#### Examples

The following example demonstrates how to use the `ComponentList` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
components = contour.ComponentList;
```

#### Remarks

Use this property to retrieve the list of available components.

### Continuous

Gets or sets a value indicating whether to allow gradation between colors.

```csharp theme={null}
bool Continuous { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Examples

The following example demonstrates how to use the `Continuous` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.Continuous = False;
```

#### Remarks

Use this property to specify or retrieve whether color gradation is allowed.

### FullName

Gets or sets the full name of the contour.

```csharp theme={null}
string FullName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### Examples

The following example demonstrates how to use the `FullName` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.FullName = "Contour"
```

#### Remarks

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

### IsEnabled

Gets or sets a value indicating whether the contour is enabled.

```csharp theme={null}
bool IsEnabled { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Examples

The following example demonstrates how to use the `IsEnabled` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.IsEnabled = False;
```

#### Remarks

Use this property to specify or retrieve whether the contour is enabled.

### LegendColorScheme

Gets or sets the color scheme of the legend.

```csharp theme={null}
ColorSchemeType LegendColorScheme { get; set; }
```

#### Property Value

ColorSchemeType

#### Examples

The following example demonstrates how to use the `LegendColorScheme` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.LegendColorScheme = ColorSchemeType.NORMAL_INVERTED;
```

#### Remarks

The LegendColorType property specifies the color scheme used for the Legend.
This property allows you to customize the appearance of the Legend by selecting from a variety of predefined color schemes.
The supported color schemes provide different visual styles to match the needs of various applications and user preferences.
This property is included in the Legend category within the UI and is labeled as "Color" in the user interface.
By setting this property, you can ensure that the Legend is displayed with the desired color scheme, enhancing its visual appeal and readability.
This property allows you to set the color scheme of the legend. The available color schemes are:
<ul><li>NORMAL</li><li>NORMAL\_INVERTED</li><li>BLACK\_TO\_WHITE</li><li>WHITE\_TO\_BLACK</li><li>GREEN\_TO\_BROWN</li><li>WHITE\_TO\_BROWN</li><li>METAL\_CASTING</li><li>THERMAL\_1</li><li>THERMAL\_2</li><li>THERMAL\_3</li></ul>

### LegendFontColor

Gets or sets the font color of the contour legend.

```csharp theme={null}
Color LegendFontColor { get; set; }
```

#### Property Value

[Color](https://learn.microsoft.com/dotnet/api/system.windows.media.color)

#### Examples

The following example demonstrates how to use the `LegendFontColor` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.LegendFontColor = Colors.Red;
```

#### Remarks

Use this property to specify or retrieve the font color of the contour legend.

### LegendVisibility

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

```csharp theme={null}
bool LegendVisibility { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Examples

The following example demonstrates how to use the `LegendVisibility` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.LegendVisibility = False;
```

#### Remarks

Use this property to specify or retrieve whether the legend is displayed or hidden.

### LogScale

Gets or sets a value indicating whether to scale the values using a logarithmic function.

```csharp theme={null}
bool LogScale { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Examples

The following example demonstrates how to use the `LogScale` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.LogScale = True;
```

#### Remarks

Use this property to specify or retrieve whether the values are scaled using a logarithmic function.

### Max

Gets or sets the maximum value of the contour.

```csharp theme={null}
double Max { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

#### Examples

The following example demonstrates how to use the `Max` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.Max = 10;
```

#### Remarks

Use this property to specify or retrieve the maximum value of the contour when the Auto Range option is disabled.

### Min

Gets or sets the minimum value of the contour.

```csharp theme={null}
double Min { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

#### Examples

The following example demonstrates how to use the `Min` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.Min = False;
```

#### Remarks

Use this property to specify or retrieve the minimum value of the contour when the Auto Range option is disabled.

### MinMaxTargetType

Gets or sets the type of extremal values to be displayed.

```csharp theme={null}
ExtremalValueType MinMaxTargetType { get; set; }
```

#### Property Value

ExtremalValueType

#### Examples

The following example demonstrates how to use the `MinMaxTargetType` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
document = applicationHandler.GetDocument(filepath);
dynamic_analysis = document.GetAnalysisResultViewModel(AnalysisResultType.Dynamics);
dynamic_analysis.LoadAnimationFrames(50);
entities = dynamic_analysis.GetContourables(ContourMappingType.Contact);
contour = dynamic_analysis.CreateContour(entities, ContourMappingType.Contact, "Normal Force", "Average");
contour.MinMaxTargetType = ExtremalValueType.Whole;
```

#### Remarks

This property allows you to change the visible state of extremes by selecting one of the predefined options.
In the UI, this is represented as "Visible" in the "Min/Max Value" category.
The available options are:
<ul><li>None</li><li>Part</li><li>Whole</li><li>FEProperty</li><li>ElementSet</li></ul>
