AutoCAD 2010/2011/2012 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to create a macro for change the plot styles in hundreds layouts?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Good morning everyone.
I have (unfortunately) the necessity to modify into some files (which are used as models) the print style preset.
These files, which are necessary for the realization of electrical diagrams, have inside hundreds of layout.
Each layout set default printing parameters, so as "Laser b/n.pc3," as the paper size "A4" scale "Scale to Fit", and plot style "Schemi.ctb", etc. ..
Is there a way to create a macro (a field unknown to me) or something similar, to automatically change in all the default layout, for example, the printer "Colori.pc3" and the print style in "Schemi_colori.ctb "?
Thank you very much.
Solved! Go to Solution.
Re: How to create a macro for change the plot styles in hundreds layouts?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: How to create a macro for change the plot styles in hundreds layouts?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
No, thanks. It's not possible in this way. I want change phisically plot settings of every layouts into dwg files.
I have hundreds of layouts (I think at least 2000 layouts...20 files with 100 layouts each) set with "old_plotter.pc3" and "black.ctb".
Every layout have different plot window referred at the model.
I don't want to change the plot window, i want only change printer and plot style, like "new_plotter.pc3" and "colour.ctb".
How can I do?
Re: How to create a macro for change the plot styles in hundreds layouts?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
save these 20 drawings as DXF, then open them with an ASCII-editor like Notepad++ (any editor that is able to handle large files). Run a search&replace for your PC3 and CTB. As long as the names are unique (and not e.g. a layer has the same name you are searching for) it's a thing of minutes then.
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: How to create a macro for change the plot styles in hundreds layouts?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi alfred.neswadba.
Now I'm not at work..I'm going to try this solution Monday morning.
Thanks in advance.
Re: How to create a macro for change the plot styles in hundreds layouts?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Alfred!
Your solution works good!!!
:-)

