DIESEL Interpreter in ARX?

Martin Schmid

Usenet Archive
Joined
Jul 11, 2003
Messages
47
Reaction score
0
Are there any functions that will take a DIESEL string, i.e. a char array, and return the evaluation of that DIESEL expression? I.e., to evaluate $(getvar,clayer) to "a-this-layr" or whatever...
 
From the Autocad Help files

;;; DIESEL.LSP
;;; Lets you enter DIESEL expressions at the command line

(defun C:DIESEL ( / dsl )
(while (/= dsl "M=")
(setq dsl (strcat "M=" (getstring T "\nDIESEL: ")))
(princ (menucmd dsl))
)
(princ)
)

I hope this is what you are looking for
Saludos
Marco Jacinto
 
Thanks, however, that isn't what I'm looking for... I'm looking for this functionality within ARX/C++.
 
Copyright (c)2004 Tony Tanzillo
Unauthorized reproduction expressly prohibited.

Martin Schmid said:
Thanks, however, that isn't what I'm looking for... I'm looking for this functionality within ARX/C++.

LISP: (menucmd)
ObjectARX C++: acedMenuCmd:
 
PS: acedMenuCmd results are obtained via acedGetInput

Copyright (c)2004 Tony Tanzillo
Unauthorized reproduction expressly prohibited.
 

Latest threads

Back
Top