How to batch parse/remove Diesel Expressions from AutoCAD files

How to batch parse/remove Diesel Expressions from AutoCAD files

Anonymous
Not applicable
706 Views
3 Replies
Message 1 of 4

How to batch parse/remove Diesel Expressions from AutoCAD files

Anonymous
Not applicable

I have diesel expressions in the title block  of my drawings to display the name of my drawing file & rev number. I would like to batch remove the diesel expression but leave the resulting text in the fields (rev number and drawing name from the diesel expression).

 

Is there a way to do this?

 

Thanks

0 Likes
707 Views
3 Replies
Replies (3)
Message 2 of 4

ChicagoLooper
Mentor
Mentor

Highlight the diesel expression then right click and select 'Convert Field to Text.' You will have to do this on a drawing-by-drawing basis because your diesel is reading the drawing name and once you dump the diesel the drawing name will be lost.

 

 Right click field for shortcut menu.Right click field for shortcut menu. 

 

May I ask you are deleting the diesel and replacing it with a text value which is exactly the same as the diesel expression? It looks like you are better off leaving it alone because you are not accomplishing anything by replacing it.

Chicagolooper

EESignature

0 Likes
Message 3 of 4

maratovich
Advisor
Advisor

You need to use lisp. I added it to the message (R-FIELDS-ALL.lsp).
If you need to do this in many files, then use this:

 

RunLispField.png

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 4 of 4

Anonymous
Not applicable
Basically I'm wanting to use the diesel expressions as the rev value
increments for the next few months (to save time of going in one by one),
but once it's finalized, I'd like to remove the diesel expression so it
doenst confuse anyone new later that looks at the drawings
0 Likes