bad variable name in SETQ need help

Discussion in 'AutoCAD' started by Bratz2, Sep 11, 2003.

  1. Bratz2

    Bratz2 Guest

    I keep checking this routine through the vlisp console, and I keep getting a "bad variable name when it checks the the following line (setq Cspace (vla-get-mspace *doc*)). Can anyone shed some light on just exactly what is wrong with this line or routine?
     
    Bratz2, Sep 11, 2003
    #1
  2. Try (vla-get-modelspace *doc*)

    --
    Ken Alexander
    Acad2000
    Windows2000 Prof.

    "We can't solve problems by using the same kind
    of thinking we used when we created them."
    --Albert Einstein

    getting a "bad variable name when it checks the the following line
    (setq Cspace (vla-get-mspace *doc*)). Can anyone shed some light on
    just exactly what is wrong with this line or routine?
     
    Ken Alexander, Sep 11, 2003
    #2
  3. Bratz2

    Bratz2 Guest

    yes, yes I see your comment in the coding, thank you.
     
    Bratz2, Sep 12, 2003
    #3
  4. Bratz2

    Bratz2 Guest

    Where should this coding be placed? prior to the main programming?
     
    Bratz2, Sep 12, 2003
    #4
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.