Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class INamedImpl

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMAppCore.dll

This class is to represent the name.

public class INamedImpl

Inheritance

object ← INamedImpl

Extension Methods

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

Constructors

INamedImpl()

public INamedImpl()

Properties

NameSeperator

Gets or sets the name seperator.

public static char NameSeperator { get; set; }

Property Value

char

PredefinedFlag

Gets or sets the predefined flag.

public static char PredefinedFlag { get; set; }

Property Value

char

Methods

EnsureLocalName(string)

Ensure local name.

public static void EnsureLocalName(string strName)

Parameters

strName string

The name.

GetChildName(string)

Get child name.

public static string GetChildName(string strName)

Parameters

strName string

The name.

Returns

string

The child name

GetFullName(IObject)

Get full name.

public static string GetFullName(IObject obj)

Parameters

obj IObject

The object.

Returns

string

The name

GetFullName(INamed)

Get full name.

public static string GetFullName(INamed namedObj)

Parameters

namedObj INamed

The object has name.

Returns

string

The name

GetImportedCADBodyDirectory(string, string)

Get imported cad body directory path.

public static string GetImportedCADBodyDirectory(string strDir, string strBodyName)

Parameters

strDir string

The directory.

strBodyName string

The body name

Returns

string

GetImportedCADBodyFilePath(string, string, string)

Get imported cad body file path.

public static string GetImportedCADBodyFilePath(string strDir, string strBodyName, string strExtension)

Parameters

strDir string

The directory.

strBodyName string

The body name

strExtension string

The extension name

Returns

string

GetImportedCADBodyName(Document, string, bool)

Get imported cad body name.

public static string GetImportedCADBodyName(Document doc, string strName, bool bAllowDuplication)

Parameters

doc Document

The document.

strName string

Object Name

bAllowDuplication bool

Returns

string

The new name

GetNonSymmetricName(string)

Get non symmetric name.

public static string GetNonSymmetricName(string strName)

Parameters

strName string

The name.

Returns

string

The name

GetOwnerFullName(string)

Get owner name from fullname.

public static string GetOwnerFullName(string strFullName)

Parameters

strFullName string

The full name.

Returns

string

The owner's full name

GetOwnerName(string)

Get owner name.

public static string GetOwnerName(string strName)

Parameters

strName string

The name.

Returns

string

The owner name

GetSymmetricTypeFromName(string)

Get symmetric type from name.

public static SymmetricType GetSymmetricTypeFromName(string strName)

Parameters

strName string

The name.

Returns

SymmetricType

The symmetric type

IsChildName(string)

whether this name is child name.

public static bool IsChildName(string strName)

Parameters

strName string

The object has name.

Returns

bool

The name

IsExistNameInDoc(IDocument, string, string)

whether this name is exist to document.

public static bool IsExistNameInDoc(IDocument doc, string strName, string strNameForMessage)

Parameters

doc IDocument

The document.

strName string

The name.

strNameForMessage string

The name for message.

Returns

bool

The name

IsExistNameInDoc(IDocument, string)

whether this name is exist to document.

public static bool IsExistNameInDoc(IDocument doc, string strName)

Parameters

doc IDocument

The document.

strName string

The name.

Returns

bool

The name

IsValidName(string, bool)

whether this name is valid.

public static bool IsValidName(string strName, bool showMsg)

Parameters

strName string

Object Name

showMsg bool

Whether show error messages.

Returns

bool

true if the specified name is valid; otherwise, false.

IsValidName(string)

whether this name is valid.

public static bool IsValidName(string strName)

Parameters

strName string

Object Name

Returns

bool

true if the specified name is valid; otherwise, false.

MakeOppositeSymmetricName(string)

Make opposite symmetric name.

public static string MakeOppositeSymmetricName(string strName)

Parameters

strName string

The name.

Returns

string

The opposite symmetric name

MakeSymmetricName(string, SymmetricType)

Make symmetric name.

public static string MakeSymmetricName(string strNameOriginal, SymmetricType type)

Parameters

strNameOriginal string

The original name.

type SymmetricType

The symmetric type.

Returns

string

The name

Connect with Ansys