Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Interface ILinkContainer

Last update: 16.07.2025

Namespace: VM.Models.Pre
Assembly: VM.Models.Pre.dll

This interface is to represent the object container that has a relation with other object.

public interface ILinkContainer : IOwned, IHasID

Implements

IOwned, IHasID

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Properties

ClearChildInfoBeforeDeserialize

Gets a value indicating whether [clear child info before deserialize].

bool ClearChildInfoBeforeDeserialize { get; }

Property Value

bool

Methods

ClearLinkBeforeDeserialize()

Disconnect the link relation.

void ClearLinkBeforeDeserialize()

ClearLinkBeforeSwap()

Disconnect the link relation for undo/redo.

void ClearLinkBeforeSwap()

GetChilds(HashSet)

Get child objects.

void GetChilds(HashSet<ilinkcontainer> lstObjs)

Parameters

lstObjs HashSetILinkContainer&gt;

The object list.

GetFirstDesignEntities()

Get first design entities.

IEnumerable<iobject> GetFirstDesignEntities()

Returns

IEnumerableIObject&gt;

The collection of IObject>

OnReserved(object, object, EventArgs)

Called after reserve linked object.

void OnReserved(object reserved, object objNotifier, EventArgs args)

Parameters

reserved object

The reserved object.

objNotifier object

The notifier object.

args EventArgs

The event argument.

Called when object destroyed.

void SetDestroyedLink()

Called when all object modified.

void SetModifiedAllLink()

Called when object modified.

void SetModifiedLink()

SkipModifiedEvent()

Skip Modified event for undo/redo.

bool SkipModifiedEvent()

Returns

bool

True if succeeded, otherwise false.

Connect with Ansys