> ## 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/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 ←
[Body.ReplaceCADInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/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/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/lib/VM.Managed.CAD.Body.ReplaceCADInfo.md) class.

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

#### Parameters

`strNameAttribute` string

The name attribute.

`strCADFilePath` string

The CAD file path.

`color` Color

The CAD color.

## Properties

### CADFilePath

Gets or sets the CAD file path.

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

#### Property Value

string

### Color

Gets or sets the CAD color.

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

#### Property Value

Color

### NameAttribute

Gets or sets the name attribute.

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

#### Property Value

string
