Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class ObjectBaseMeshColorEvent

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.FE.History
Assembly: VMFE.dll

This base class is to represent the color event for mesh.

public abstract class ObjectBaseMeshColorEvent : HistoryEvent

Inheritance

object ← HistoryEvent ← ObjectBaseMeshColorEvent

Derived

ObjectBaseFEColorEvent, ObjectBaseSetBaseColorEvent

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

ObjectBaseMeshColorEvent(object, Color)

public ObjectBaseMeshColorEvent(object obOriginal, Color color)

Parameters

obOriginal object

color Color

ObjectBaseMeshColorEvent(object)

public ObjectBaseMeshColorEvent(object obOriginal)

Parameters

obOriginal object

Fields

m_Color

protected Color m_Color

Field Value

Color

m_keyObj

protected UIntPtr m_keyObj

Field Value

UIntPtr

Methods

Clear(bool)

public override void Clear(bool bReserveReferenceCount)

Parameters

bReserveReferenceCount bool

GetColor()

protected abstract Color GetColor()

Returns

Color

Redo(HistoryEventArgs)

public override void Redo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

ReplaceColor(Color)

protected abstract void ReplaceColor(Color color)

Parameters

color Color

Undo(HistoryEventArgs)

public override void Undo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

Connect with Ansys