    

 ## On this page

  

 

 # Class CADOperation

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_CADOperation"></a>

Namespace: [VM.Managed.DAFUL](VM.Managed.DAFUL.md)  
Assembly: VMDFBase.dll

CADOperation

```csharp
public class CADOperation

```

#### Inheritance

object ← [CADOperation](VM.Managed.DAFUL.CADOperation.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

### <a id="VM_Managed_DAFUL_CADOperation__ctor"></a> CADOperation()

```csharp
public CADOperation()

```

## Methods

### <a id="VM_Managed_DAFUL_CADOperation_CalcBoundingBox_VM_Managed_DAFUL_PartDocument_VM_Managed_IDesignFrame_"></a> CalcBoundingBox(PartDocument, IDesignFrame)

calculate bounding box.

```csharp
public static double[] CalcBoundingBox(PartDocument docPart, IDesignFrame designFrame)

```

#### Parameters

`docPart` [PartDocument](VM.Managed.DAFUL.PartDocument.md)

The document.

`designFrame` IDesignFrame

The design frame.

#### Returns

double\[\]

The bounding box.

### <a id="VM_Managed_DAFUL_CADOperation_GetProfilePointOfCurveset_VM_Managed_DAFUL_IContactableRigid2D_System_Boolean__System_Collections_Generic_List_VM_Managed_VectorBase___"></a> GetProfilePointOfCurveset(IContactableRigid2D, ref bool, ref List&lt;VectorBase&gt;)

Get profile point of curveset

```csharp
public static int GetProfilePointOfCurveset(IContactableRigid2D curveset, ref bool bCloseLoop, ref List<VectorBase> lst)

```

#### Parameters

`curveset` [IContactableRigid2D](VM.Managed.DAFUL.IContactableRigid2D.md)

The curveset.

`bCloseLoop` bool

The close loop.

`lst` List&lt;VectorBase&gt;

The profile point list.

#### Returns

int

The number of profile point.

### <a id="VM_Managed_DAFUL_CADOperation_RecalcMassProp_VM_Managed_DAFUL_PartDocument_MassProperty_"></a> RecalcMassProp(MassProperty)

Re-calculation mass property.

```csharp
public static void RecalcMassProp(PartDocument.MassProperty mp)

```

#### Parameters

`mp` [PartDocument](VM.Managed.DAFUL.PartDocument.md).[MassProperty](VM.Managed.DAFUL.PartDocument.MassProperty.md)

The material property.