Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Interface IHasReplaceableEntity

Last update: 09.03.2026

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

This interface is to represent the replaceable entity.

public interface IHasReplaceableEntity

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

HasReplaceableEntity(IObjectBase)

Gets a value indicating whether this instance has replacable entity.

bool HasReplaceableEntity(IObjectBase oldObject)

Parameters

oldObject IObjectBase

The old object

Returns

bool

if this instance has replacable entity, the result is true.

ReplaceEntity(IObjectBase, IObjectBase)

Replace Entity

bool ReplaceEntity(IObjectBase oldObject, IObjectBase newObject)

Parameters

oldObject IObjectBase

The old object

newObject IObjectBase

The new object

Returns

bool

if success, the result is true.

Connect with Ansys