Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Interface IContainer

Last update: 16.07.2025

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

This interface is to represent the DAFUL object container.

public interface IContainer : ILinkContainer, IOwned, IHasID

Implements

ILinkContainer, IOwned, IHasID

Extension Methods

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

Methods

Find(string)

Find DAFUL object from the container by full name.

IObjectBase Find(string name)

Parameters

name string

The DAFUL object full name.

Returns

IObjectBase

The DAFUL object.

FindLocal(string)

Find DAFUL object from the container by name.

IObjectBase FindLocal(string name)

Parameters

name string

The DAFUL object name.

Returns

IObjectBase

The DAFUL object.

GetNewEntityName(string)

Generate an unique DAFUL object name from the container using the prefix name.

string GetNewEntityName(string prefix)

Parameters

prefix string

The DAFUL object prefix name.

Returns

string

The DAFUL object name.

GetNewEntityName(string, bool, int)

Generate an unique DAFUL object name from the container using the prefix name.

string GetNewEntityName(string prefix, bool useUnderLine, int numFigure)

Parameters

prefix string

The DAFUL object prefix name.

useUnderLine bool

Whether use underline.

numFigure int

The Number of Figure.

Returns

string

The DAFUL object name.

GetNewEntityName(string, bool, int, int)

Generate an unique DAFUL object name from the container using the prefix name.

string GetNewEntityName(string prefix, bool useUnderLine, int numFigure, int startIndex)

Parameters

prefix string

The DAFUL object prefix name.

useUnderLine bool

Whether use underline.

numFigure int

The Number of Figure.

startIndex int

The start index.

Returns

string

The DAFUL object name.

GetUnnamedObjectName(object)

Get an unnamed object name.

string GetUnnamedObjectName(object @object)

Parameters

object object

The unnamed object.

Returns

string

The unnamed object name.

Connect with Ansys