Share

AcDbSymbolTableRecord::setName

C++

ACDBCORE2D_PORT Acad::ErrorStatus setName(
    const ACHAR* pName
);

Description

This function sets the SymbolTableRecord to use a copy of the string pointed to by pName as the name string for the record. The string must have a null terminator, and any or all of the characters may be Unicode or multibyte representations or multibyte characters.

This function can be used to rename a symbol-table record. This includes the situation where the new name only differs from the old name by the case of the letters.

Returns Acad::eOk if successful.

If there is insufficient memory for the string copy, then Acad::eOutOfMemory is returned.

The SymbolTableRecord name string is used for DXF group code 2.

Parameters

Parameters Description
pName Input pointer to null-terminated string that is the name to be used for the SymbolTable record

Links

AcDbSymbolTableRecord

Was this information helpful?