Share

acedGetCommandForDocument

C++

inline Acad::ErrorStatus acedGetCommandForDocument(
    const AcApDocument* pDoc, 
    ACHAR *& pGlobalCmdName
);

File

aced.h

Description

This function sets pGlobalCmdName to the global name of the innermost command currently running for the document specified by pDoc. If there is no running command in this document, then pGlobalCmdName is set to an empty string.

Note: The caller of this function is responsible for deallocating the memory used by the returned string. The acutDelString() function is the preferred way to do this.

This function is marked as deprecated.

Parameters

Parameters Description
pDoc Input pointer to the document for which the current command is desired
pGlobalCmdName Output command name string

Use Instead

ACAD_PORT Acad::ErrorStatus acedGetCommandForDocument(const AcApDocument* pDoc, AcString & sCmdName, bool bLocalized = false);

Was this information helpful?