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

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

CADOperation

```csharp theme={null}
public class CADOperation
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[CADOperation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.CADOperation.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

### CADOperation()

```csharp theme={null}
public CADOperation()
```

## Methods

### CalcBoundingBox(PartDocument, IDesignFrame)

calculate bounding box.

```csharp theme={null}
public static double[] CalcBoundingBox(PartDocument docPart, IDesignFrame designFrame)
```

#### Parameters

`docPart` [PartDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.PartDocument.md)

The document.

`designFrame` IDesignFrame

The design frame.

#### Returns

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

The bounding box.

### GetProfilePointOfCurveset(IContactableRigid2D, ref bool, ref List\<VectorBase>)

Get profile point of curveset

```csharp theme={null}
public static int GetProfilePointOfCurveset(IContactableRigid2D curveset, ref bool bCloseLoop, ref List<VectorBase> lst)
```

#### Parameters

`curveset` [IContactableRigid2D](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.IContactableRigid2D.md)

The curveset.

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

The close loop.

`lst` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<VectorBase>

The profile point list.

#### Returns

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

The number of profile point.

### RecalcMassProp(MassProperty)

Re-calculation mass property.

```csharp theme={null}
public static void RecalcMassProp(PartDocument.MassProperty mp)
```

#### Parameters

`mp` [PartDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.PartDocument.md).[MassProperty](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.PartDocument.MassProperty.md)

The material property.
