    

 ## On this page

  

 

 #  Class BodyEventBase

 Last update: 16.07.2025 

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

This base class is to represent the event for body.

```csharp
public abstract class BodyEventBase : HistoryEvent

```

#### Inheritance

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

#### Derived

[BodyColorEvent](VM.Managed.CAD.History.BodyColorEvent.md), [BodyNameAttributeEvent](VM.Managed.CAD.History.BodyNameAttributeEvent.md), [BodyTransparencyEvent](VM.Managed.CAD.History.BodyTransparencyEvent.md)

#### Inherited Members

HistoryEvent.ClearEvent(bool), HistoryEvent.Undo(HistoryEventArgs), HistoryEvent.Redo(HistoryEventArgs), HistoryEvent.Clear(bool), HistoryEvent.BeforeUndo(HistoryEventArgs), HistoryEvent.AfterUndo(HistoryEventArgs), HistoryEvent.BeforeRedo(HistoryEventArgs), HistoryEvent.AfterRedo(HistoryEventArgs), HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs), HistoryEvent.AfterAdded(HistoryEventArgs), HistoryEvent.IsValid

#### 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(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_CAD_History_BodyEventBase__ctor_System_Object_"></a> BodyEventBase(object)

```csharp
public BodyEventBase(object obOriginal)

```

#### Parameters

`obOriginal` [object](https://learn.microsoft.com/dotnet/api/system.object)

## Fields

### <a id="VM_Managed_CAD_History_BodyEventBase_m_keyBody"></a> m\_keyBody

```csharp
protected UIntPtr m_keyBody

```

#### Field Value

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

## Methods

### <a id="VM_Managed_CAD_History_BodyEventBase_Clear_System_Boolean_"></a> Clear(bool)

```csharp
public override void Clear(bool bReserveReferenceCount)

```

#### Parameters

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