Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class Body.ReplaceCADInfo

Last update: 16.07.2025

Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll

This class is to represent the information for CAD replacing.

public class Body.ReplaceCADInfo

Inheritance

objectBody.ReplaceCADInfo

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

ReplaceCADInfo(string, string, Color)

Initializes a new instance of the class.

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.

public string CADFilePath { get; set; }

Property Value

string

Color

Gets or sets the CAD color.

public Color Color { get; set; }

Property Value

Color

NameAttribute

Gets or sets the name attribute.

public string NameAttribute { get; set; }

Property Value

string

Connect with Ansys