Share

acedGetCName

C++

ACCORE_PORT int acedGetCName(
    const ACHAR * cmd, 
    AcString & sOut
);

File

acedads.h

Description

Retrieves the localized or English name of an AutoCAD command after allocating memory for it.

The acedGetCName() function returns RTNORM to indicate success, RTERROR to indicate failure to allocate memory for the string result, or another error code if the function fails to retrieve the result.

Parameters

Parameters Description
cmd Constant symbol set to the name of the command (maximum 64 characters), such as const char* cmd = "ETIRER";
sOut Output value containing the local command name

Was this information helpful?