Assembly: VMAppCore.dll This class is to represent the name.
Inheritance
object ← INamedImplExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
INamedImpl()
Properties
NameSeperator
Gets or sets the name seperator.Property Value
charPredefinedFlag
Gets or sets the predefined flag.Property Value
charMethods
EnsureLocalName(string)
Ensure local name.Parameters
strName string
The name.
GetChildName(string)
Get child name.Parameters
strName string
The name.
Returns
string The child nameGetFullName(IObject)
Get full name.Parameters
obj IObject
The object.
Returns
string The nameGetFullName(INamed)
Get full name.Parameters
namedObj INamed
The object has name.
Returns
string The nameGetImportedCADBodyDirectory(string, string)
Get imported cad body directory path.Parameters
strDir string
The directory.
strBodyName string
The body name
Returns
stringGetImportedCADBodyFilePath(string, string, string)
Get imported cad body file path.Parameters
strDir string
The directory.
strBodyName string
The body name
strExtension string
The extension name
Returns
stringGetImportedCADBodyName(Document, string, bool)
Get imported cad body name.Parameters
doc Document
The document.
strName string
Object Name
bAllowDuplication bool
Returns
string The new nameGetNonSymmetricName(string)
Get non symmetric name.Parameters
strName string
The name.
Returns
string The nameGetOwnerFullName(string)
Get owner name from fullname.Parameters
strFullName string
The full name.
Returns
string The owner’s full nameGetOwnerName(string)
Get owner name.Parameters
strName string
The name.
Returns
string The owner nameGetSymmetricTypeFromName(string)
Get symmetric type from name.Parameters
strName string
The name.
Returns
SymmetricType The symmetric typeIsChildName(string)
whether this name is child name.Parameters
strName string
The object has name.
Returns
bool The nameIsExistNameInDoc(IDocument, string, string)
whether this name is exist to document.Parameters
doc IDocument
The document.
strName string
The name.
strNameForMessage string
The name for message.
Returns
bool The nameIsExistNameInDoc(IDocument, string)
whether this name is exist to document.Parameters
doc IDocument
The document.
strName string
The name.
Returns
bool The nameIsValidName(string, bool)
whether this name is valid.Parameters
strName string
Object Name
showMsg bool
Whether show error messages.
Returns
booltrue if the specified name is valid; otherwise, false.
IsValidName(string)
whether this name is valid.Parameters
strName string
Object Name
Returns
booltrue if the specified name is valid; otherwise, false.
MakeOppositeSymmetricName(string)
Make opposite symmetric name.Parameters
strName string
The name.
Returns
string The opposite symmetric nameMakeSymmetricName(string, SymmetricType)
Make symmetric name.Parameters
strNameOriginal string
The original name.
type SymmetricType
The symmetric type.