PDA

View Full Version : PLT file names



BCrouse
2004-07-17, 07:50 PM
Does any know how to eliminate 4 to 5 letters from a PLT file name? This would be helpful when batch plotting files for PLT purpose. Right now we have to go to the file and manually change the name. Here is and example (52226PLAN-CFP01.PLT). When we are done it reads like this (52226CFP01.PLT). Can this be done by a lisp routine?

Thank you,

Brad

mjfarrell
2004-07-18, 02:27 PM
Brad, you will want to look at
String-Handling Functions in help and
look at establishing a string pattern
for it to follow when chopping out those
center characters.

BCrouse
2004-07-19, 04:51 PM
I have done that. We are using Rtext to get the sheet name (52226CFP01). We figured that with the sheet name already established that the PLT name will be the same. But it is not working that way. We are still getting 52226PLAN-CFP01.PLT.


Thank you,

Brad

RobertB
2004-07-19, 08:51 PM
If I understand you correctly Brad, you want a drawing file named 52226PLAN-CFP01.dwg to write a plot file named 52226CFP01.plt. But you want this to happen with batch plotting (I presume AutoCAD 2005's Publish feature?). I don't think that is possible. Is this in preparing the files for burning to CD or achiving? If so, look for external file management type programs such as Bulk Rename Utility (http://www.jimwillsher.co.uk/Site/Software/BRU_Intro.php). If it is just for plot queue management, I'm not sure what you can easily do.

BCrouse
2004-07-19, 08:58 PM
Thank you for your assistance with this matter!

Thank oyu,

Brad

jwanstaett
2004-07-21, 08:26 PM
??I am use autocad 2002 is the bath plot uitily how part of autocad

Autocad 2002 use a plot uitily in the uitily you can set the name of the plot file
you should be able to set it in Autocad 200 4 or 5

??can you still save a bath plot list
?? if they did not change the format of the bath plot list you can edit it
with a text editer or a autolisp program to change the plot file name

RobertB
2004-07-21, 11:07 PM
Batch plotting was replaced by the Publish command.