Share

acedGetFunCode

C++

int acedGetFunCode();

File

acedads.h

Description

Retrieves code number of requested external function.

Returns the function code that AutoLISP has passed to the ARX application with a kInvkSubrMsg message. If the application implements more than one external function, it can call acedGetFunCode() to find out which function AutoLISP requested.

The ARX application associates the function code with the external function name when it defines the function with a call to acedDefun(). The function code must be a nonnegative integer.

If acedGetFunCode() succeeds, it returns the function code, which is a nonnegative integer; otherwise, it returns RTERROR.

Was this information helpful?