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

# Class Body.ReplaceCADInfo

Namespace: [VM.Managed.CAD](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD)\
Assembly: VMAppCore.dll

This class is to represent the information for CAD replacing.

```csharp theme={null}
public class Body.ReplaceCADInfo
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Body.ReplaceCADInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD.Body.ReplaceCADInfo.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ReplaceCADInfo(string, string, Color)

Initializes a new instance of the [ReplaceCADInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD.Body.ReplaceCADInfo.md) class.

```csharp theme={null}
public ReplaceCADInfo(string strNameAttribute, string strCADFilePath, Color color)
```

#### Parameters

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

The name attribute.

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

The CAD file path.

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

The CAD color.

## Properties

### CADFilePath

Gets or sets the CAD file path.

```csharp theme={null}
public string CADFilePath { get; set; }
```

#### Property Value

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

### Color

Gets or sets the CAD color.

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

#### Property Value

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

### NameAttribute

Gets or sets the name attribute.

```csharp theme={null}
public string NameAttribute { get; set; }
```

#### Property Value

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