Find name of running function

Discussion in 'AutoCAD' started by CmdrSlam, Sep 23, 2004.

  1. CmdrSlam

    CmdrSlam Guest

    Hi All,

    This sounds goofy when i write it, but i'm writting some generic code and want to know the name of the currently running defun that sent me to this subroutine.

    More specifically, i have an initialize routine that is called from several defuns in the same program. I would like the initialize routine to be able to determine which defun channeled program flow to here *without* sending an argument.

    I guess it will be something like (getvar "cmdnames") but to work with vlisp functions.

    Thanks in advance for all the help. This group is the best.

    Cmdr Slam
     
    CmdrSlam, Sep 23, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.