Share

AcDbSymbolUtilities Namespace

Description

Namespace AcDbSymbolUtilities contains various utilities for working with symbol names, symbol records, and symbol tables. The main access to the utility functions is through acdbSymUtil(), which is dereferenced to call the member functions of class AcDbSymbolUtilities::Services.

The namespace alias AcDbSymUtil is available for use as a shorter abbreviation for the full namespace AcDbSymbolUtilities.

This namespace may be used in ObjectARX and ObjectDBX modules.

Classes

Class Description
Services The class AcDbSymbolUtilities::Services (typedef AcDbSymUtilServices) provides utility functions that are accessed by dereferencing the pointer received from calling acdbSymUtil(). For example, to call the AcDbSymbolUtilities::Services::isBlockLayoutName() function, use acdbSymUtil()->isBlockLayoutName().The namespace alias AcDbSymUtil is available for use as a shorter abbreviation for the full namespace AcDbSymbolUtilities.This namespace may be used in both ObjectARX and ObjectDBX modules.

Functions

Function Description
AcDbSymbolUtilities::getLayerId Retrieves the AcDbObjectId for a symbol record given name, the name of the symbol, and pDb, a pointer... more
getSymbolName This is function AcDbSymbolUtilities::getSymbolName.
hasBlock
hasDimStyle
hasLayer
hasLinetype
hasRegApp
hasTextStyle
hasUCS
hasView
hasViewport
servicesPtr For internal use only. Please use acdbSymUtil() to access the member functions of the Services class.

Structs, Records, Enums

Struct, Record, Enum Description
CompatibilityMode This enumerated type is a mnemonic alternative to passing true and false to the AcDbSymbolUtilities functions that accept a Boolean argument. This allows your code to better document the meaning of the Boolean argument.When using these enumerated constants, you can use the namespace alias AcDbSymUtil instead of the full, longer name, such as AcDbSymUtil::kExtendedNames.
NameCaseMode This enumerated type is a mnemonic alternative to passing true and false to the AcDbSymbolUtilities functions that accept a Boolean argument. This allows your code to better document the meaning of the Boolean argument.When using these enumerated constants, you can use the namespace alias AcDbSymUtil instead of the full, longer name, such as AcDbSymUtil::kPreserveCase.
NewNameMode This enumerated type is a mnemonic alternative to passing true and false to the AcDbSymbolUtilities functions that accept a Boolean argument. This allows your code to better document the meaning of the Boolean argument.When using these enumerated constants, you can use the namespace alias AcDbSymUtil instead of the full, longer name, such as AcDbSymUtil::kAsNewName.
VerticalBarMode This enumerated type is a mnemonic alternative to passing true and false to the AcDbSymbolUtilities functions that accept a Boolean argument. This allows your code to better document the meaning of the Boolean argument.When using these enumerated constants, you can use the namespace alias AcDbSymUtil instead of the full, longer name, such as AcDbSymUtil::kNoVerticalBar.

Was this information helpful?