Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class BodyColorEvent

Last update: 16.07.2025

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

This class is to represent the color event for body.

public class BodyColorEvent : BodyEventBase

Inheritance

object ← HistoryEvent ← BodyEventBase ← BodyColorEvent

Inherited Members

BodyEventBase.m_keyBody, BodyEventBase.Clear(bool), 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

BodyColorEvent(object)

public BodyColorEvent(object obOriginal)

Parameters

obOriginal object

Methods

GetColor()

protected virtual Color GetColor()

Returns

Color

Redo(HistoryEventArgs)

public override void Redo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

ReplaceColor(Color)

protected virtual void ReplaceColor(Color color)

Parameters

color Color

Undo(HistoryEventArgs)

public override void Undo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

Connect with Ansys