Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class BodyNameAttributeEvent

Last update: 16.07.2025

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

This class is to represent the name event for body.

public class BodyNameAttributeEvent : BodyEventBase

Inheritance

object ← HistoryEvent ← BodyEventBaseBodyNameAttributeEvent

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(object, LinkPropertyType)

Constructors

BodyNameAttributeEvent(object, string)

public BodyNameAttributeEvent(object obOriginal, string strOldName)

Parameters

obOriginal object

strOldName string

Methods

GetNameAttribute()

protected virtual string GetNameAttribute()

Returns

string

Redo(HistoryEventArgs)

public override void Redo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

ReplaceNameAttribute(string)

protected virtual void ReplaceNameAttribute(string strNameAttr)

Parameters

strNameAttr string

Undo(HistoryEventArgs)

public override void Undo(HistoryEventArgs args)

Parameters

args HistoryEventArgs

Connect with Ansys