Share

acedAddObjectContextMenu

C++

Adesk::Boolean acedAddObjectContextMenu(
    AcRxClass * pClass, 
    AcEdUIContext * pContext, 
    const void * appId
);

File

aced.h

Description

This function adds an edit mode shortcut menu for a given class.

Returns Adesk::kTrue if successful; otherwise, returns Adesk::kFalse.

Parameters

Parameters Description
pClass Type of entity with which the shortcut menu will be associated
pContext Pointer to AcEdUIContext callback class
appId Pointer passed in by AutoCAD in acrxEntryPoint when application receives kInitAppMsg

Was this information helpful?