Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class AddRemoveBodyToPartEvent

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.History
Assembly: VMDFBase.dll

Add or remove body to part history event

public class AddRemoveBodyToPartEvent : HistoryEvent

Inheritance

object ← HistoryEvent ← AddRemoveBodyToPartEvent

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), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

AddRemoveBodyToPartEvent(Document, UIntPtr)

Construct new AddRemoveBodyToPartEvent

public AddRemoveBodyToPartEvent(Document doc, UIntPtr key)

Parameters

doc Document

key UIntPtr

Methods

AfterRedo(HistoryEventArgs)

Called after redo this event

protected override void AfterRedo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

The event argument

AfterUndo(HistoryEventArgs)

Called after undo this event

protected override void AfterUndo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

The event argument

Clear(bool)

Clear event

protected override void Clear(bool bReserveReferenceCount)

Parameters

bReserveReferenceCount bool

true to reserve reference count, otherwise false.

Redo(HistoryEventArgs)

Redo event

protected override void Redo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

The event argument

Undo(HistoryEventArgs)

Undo event

protected override void Undo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

The event argument

Connect with Ansys