get system variable

Discussion in 'AutoCAD' started by caca, Oct 4, 2004.

  1. caca

    caca Guest

    Hi,
    I am trying to get the TFINDWG system varialbe though VBA and I have already tryed
    Get variable thisdrawing.GetVariable("USERR1")
    But it does not work...does anyone knows how does it work?
    Thank you,
    Carol
     
    caca, Oct 4, 2004
    #1
  2. caca

    MP Guest

    do you perhaps mean...
    ThisDrawing.GetVariable("Tdindwg")
    ?

    hth
    Mark
     
    MP, Oct 4, 2004
    #2
  3. or
    ThisDrawing.GetVariable("TFINDWG")


     
    Casey Roberts, Oct 4, 2004
    #3
  4. caca

    MP Guest

    What does that line return for you?
    What version of acad has that variable name?
     
    MP, Oct 5, 2004
    #4
  5. If it's a new drawing, it hasn't been set.
    Do a save, and try again.
     
    Jorge Jimenez, Oct 5, 2004
    #5
  6. and BTW, the var name is TDINDWG
     
    Jorge Jimenez, Oct 5, 2004
    #6
  7. caca

    MP Guest

    That was my point. Guess I was too subtle.
    :)

     
    MP, Oct 5, 2004
    #7
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.