    

 ## On this page

  

 

 # Class Body.ReplaceCADInfo

 Last update: 16.07.2025 

Namespace: [VM.Managed.CAD](VM.Managed.CAD.md)  
Assembly: VMAppCore.dll

This class is to represent the information for CAD replacing.

```csharp
public class Body.ReplaceCADInfo

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [Body.ReplaceCADInfo](VM.Managed.CAD.Body.ReplaceCADInfo.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](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  class.

```csharp
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
public string CADFilePath { get; set; }

```

#### Property Value

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

### Color

Gets or sets the CAD color.

```csharp
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
public string NameAttribute { get; set; }

```

#### Property Value

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