Full drawing path

Discussion in 'AutoCAD' started by ffejgreb, Jul 28, 2003.

  1. ffejgreb

    ffejgreb Guest

    A co-worker stated that he had a routine at one time that would pull the
    file name along with all path info while in the dtext command. Anyone
    heard/have something like this?

    Thanks - Jeff
     
    ffejgreb, Jul 28, 2003
    #1
  2. ffejgreb

    Jeff Mishler Guest

    One way, at the command line....
    Command: texteval
    Enter new value for TEXTEVAL <0>: 1
    Command: -text
    Current text style: "L80" Text height: 3.20
    Specify start point of text or [Justify/Style]:
    Enter text: (strcat (getvar "dwgprefix")(getvar "dwgname"))
    "C:\\Projects\\2003\\23107\\dwg\\base.dwg"
    Command: texteval
    Enter new value for TEXTEVAL <1>: 0

    Jeff
     
    Jeff Mishler, Jul 28, 2003
    #2
  3. ffejgreb

    rdi Guest

    Have a look at RText (Express Tools). It's not actually dtext but it looks
    the same and is SOOOO helpful. No need for a lisp routine.
     
    rdi, Jul 28, 2003
    #3
  4. ffejgreb

    PF Guest

    It changed over time... (blame that fickle gorilla in Redmond!)
    Now you need DWGPrefix + DWGName

    See what the result of your old code is... you may need to do a (Strcat
    .... ) of the above to get your desired result.
     
    PF, Jul 29, 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.