Full drawing path

ffejgreb

Usenet Archive
Joined
Jun 30, 2003
Messages
93
Reaction score
0
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
 
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
 
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.
 
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.
 

Latest threads

Back
Top