Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class ContainerImpl

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMAppCore.dll

This class is to represent the DAFUL object container.

public class ContainerImpl

Inheritance

object ← ContainerImpl

Extension Methods

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

Constructors

ContainerImpl()

public ContainerImpl()

Properties

NewNamePattern

Gets or sets new DAFUL object name pattern. (PREFIX_DDD)

public static string NewNamePattern { get; set; }

Property Value

string

Methods

Find(IContainer, string)

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

public static IObjectBase Find(IContainer container, string strName)

Parameters

container IContainer

The DAFUL object container.

strName string

The DAFUL object name.

Returns

IObjectBase

The DAFUL object.

GetNewEntityName(IContainer, string, bool, int, int)

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

public static string GetNewEntityName(IContainer container, string strPrefix, bool bUseUnderLine, int nNumFigure, int nStartIndex)

Parameters

container IContainer

The DAFUL object container.

strPrefix string

The DAFUL object prefix name.

bUseUnderLine bool

Whether use underline.

nNumFigure int

The Number of Figure.

nStartIndex int

The start index.

Returns

string

The DAFUL object name.

GetNewEntityName(IContainer, string, bool, int)

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

public static string GetNewEntityName(IContainer container, string strPrefix, bool bUseUnderLine, int nNumFigure)

Parameters

container IContainer

The DAFUL object container.

strPrefix string

The DAFUL object prefix name.

bUseUnderLine bool

Whether use underline.

nNumFigure int

The Number of Figure.

Returns

string

The DAFUL object name.

GetNewEntityName(IContainer, string)

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

public static string GetNewEntityName(IContainer container, string strPrefix)

Parameters

container IContainer

The DAFUL object container.

strPrefix string

The DAFUL object prefix name.

Returns

string

The DAFUL object name.

Connect with Ansys