|
Welcome, Guest.
|
||||||
| AutoLISP AutoLISP or Visual LISP, learn both here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
All AUGI, all the time
Join Date: 2003-04
Location: Bethlehem, PA
Posts: 967
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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
__________________
We need men who can dream of things that never were. John F. Kennedy (1917-1963) Semper Fi!!! The Motto of the United States Marine Corps. Latin for always faithful. Faithful to God, Country, Family and the Corps. Only the Few and the Proud can Understand the meaning of Being a Marine!!!!!!! Once a Marine, Always a Marine!! Gulf War Veteran Operation Restore Hope (Somalia) USMC Using ADT 2005
|
|
|
|
|
|
#2 |
|
AUGI Addict
Join Date: 2001-10
Posts: 1,792
![]() ![]() |
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. |
|
|
|
|
|
#3 |
|
All AUGI, all the time
Join Date: 2003-04
Location: Bethlehem, PA
Posts: 967
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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
__________________
We need men who can dream of things that never were. John F. Kennedy (1917-1963) Semper Fi!!! The Motto of the United States Marine Corps. Latin for always faithful. Faithful to God, Country, Family and the Corps. Only the Few and the Proud can Understand the meaning of Being a Marine!!!!!!! Once a Marine, Always a Marine!! Gulf War Veteran Operation Restore Hope (Somalia) USMC Using ADT 2005
|
|
|
|
|
|
#4 |
|
Administrator
Join Date: 2001-08
Location: Seattle WA US
Posts: 4,393
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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. If it is just for plot queue management, I'm not sure what you can easily do.
|
|
|
|
|
|
#5 |
|
All AUGI, all the time
Join Date: 2003-04
Location: Bethlehem, PA
Posts: 967
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thank you for your assistance with this matter!
Thank oyu, Brad
__________________
We need men who can dream of things that never were. John F. Kennedy (1917-1963) Semper Fi!!! The Motto of the United States Marine Corps. Latin for always faithful. Faithful to God, Country, Family and the Corps. Only the Few and the Proud can Understand the meaning of Being a Marine!!!!!!! Once a Marine, Always a Marine!! Gulf War Veteran Operation Restore Hope (Somalia) USMC Using ADT 2005
|
|
|
|
|
|
#6 |
|
I could stop if I wanted to
Join Date: 2002-02
Location: Kansas
Posts: 462
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
??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 |
|
|
|
|
|
#7 |
|
Administrator
Join Date: 2001-08
Location: Seattle WA US
Posts: 4,393
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Batch plotting was replaced by the Publish command.
|
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copy Central File | B. Strube | Revit - Worksharing/Worksets | 5 | 2004-09-24 05:32 PM |
| Is there any replacement for BatchPlot in Autocad 04 and 05? | camncad | AutoCAD Plotting | 12 | 2004-06-23 07:37 PM |
| Beware of long file names when exporting... | Henry D | Revit Architecture - Tips & Tricks | 0 | 2004-02-08 10:02 PM |
| linking a central file to the site plan produces errors | JGAbbott | Revit - Worksharing/Worksets | 2 | 2004-01-12 01:43 AM |