AutoCAD Mechanical Forum
Welcome to Autodesk’s AutoCAD Mechanical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Mechanical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How did I get here?

0 REPLIES 0
Reply
Message 1 of 1
cmdrslam
156 Views, 0 Replies

How did I get here?

Hi All,

I'm writting some modular code and want to know the name of the currently running defun that sent me to a particular/current subroutine.

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

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

Thanks in advance for the help.

Cmdr Slam
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost