DIESEL Interpreter in ARX?

Discussion in 'AutoCAD' started by Martin Schmid, Feb 7, 2004.

  1. 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...
     
    Martin Schmid, Feb 7, 2004
    #1
  2. 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
     
    Marco Jacinto, Feb 9, 2004
    #2
  3. Thanks, however, that isn't what I'm looking for... I'm looking for this
    functionality within ARX/C++.
     
    Martin Schmid, Feb 9, 2004
    #3
  4. Copyright (c)2004 Tony Tanzillo
    Unauthorized reproduction expressly prohibited.

    LISP: (menucmd)
    ObjectARX C++: acedMenuCmd():
     
    Tony Tanzillo, Feb 10, 2004
    #4
  5. PS: acedMenuCmd() results are obtained via acedGetInput()



    Copyright (c)2004 Tony Tanzillo
    Unauthorized reproduction expressly prohibited.
     
    Tony Tanzillo, Feb 10, 2004
    #5
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.