Error: command nested 4 deep

Discussion in 'AutoCAD' started by jeroenberkers, May 15, 2004.

  1. I read already two messages about this problem, but is there NO WAY to reset
    a variable or command to avoid this error???

    I am trying to write a lisp which performes 4 sloprof-commands in one
    drawing (isometric, top, side & front). When I undo the lisp and run it for
    the fourth time I get the error-message. I don't want to work with a script,
    but if there is no other way, I'll guess I have to (?)
     
    jeroenberkers, May 15, 2004
    #1
  2. jeroenberkers

    TCEBob Guest

    Jeff, you don't suppose that approach might work with other pesky
    functions like c:textmask, do you?

    rs
     
    TCEBob, May 15, 2004
    #2
  3. jeroenberkers

    Jeff Mishler Guest

    I don't think so, Bob. Textmask is itself a Lisp routine and you can't pass
    arguments to a lisp that is defun'ed as C:XXX.

    I haven't looked very hard at the Textmask code to determine where/why it
    bombs out. Maybe later on today I will get a moment to look at it.

    Jeff
     
    Jeff Mishler, May 15, 2004
    #3
  4. jeroenberkers

    Jeff Mishler Guest

    Could you:
    Post the code where you see this pesky behaviour?
    Describe pesky?
     
    Jeff Mishler, May 15, 2004
    #4
  5. jeroenberkers

    TCEBob Guest

    "Pesky": Impossible to integrate into a lisp routine.

    I see that solprof is an arx file, but doesn't the c: tell us it is
    originally a lisp program?

    rs
     
    TCEBob, May 15, 2004
    #5
  6. I found something 'myself' and it seems to work. I tried to run my lisp over
    four times and didn't get a fatal error so far.
     
    jeroenberkers, May 17, 2004
    #6
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.