AutoCAD VB :: Plot Multiple Drawings Using VBA
Aug 1, 2013
I am trying to write some VBA code to print several drawings present in a folder.
I am not a VBA expert. I wrote some little macros in excel but it is the first one in Autocad.
I have a small code that opens a drawing, counts it, closes it and then loops for other drawings.
I have a code that print a drawing by defining some printing parameters.
Separately, both work. But when I call the second one into the loop, I get a error:
"Run-time error '-2147418111 (800100001)':
Automation error
Call was rejected by callee."
I'm using Windows 7 and Autocad 2012.
See my code below:
Option Explicit
Dim filename As String
Dim filepath As String
Dim full_filename As String
Dim i As Integer
Sub print_trial()
[Code] ......
View 2 Replies
ADVERTISEMENT
Sep 5, 2007
I am trying to plot multiple drawings all at once. I work with many drawing sizes varies from size A to size E. What would be the best way to plot all drawings to 11 X 17 paper no matter what size the drawings are set to? These drawings are not xref or anything. They all are separated files. I tried using Set Sheet Manager; it will only plot to whatever that size is. I want all drawings to be plotted on 11 X 17. I did some research in the forums here and was not able to find what I was looking for.
View 2 Replies
View Related
Apr 10, 2006
Is is possible to "que" a bunch of drawings to be plotted? I would like to be able to open a drawing and plot it, then while it's plotting, open another drawing and plot it, then another and so on and so on. However, I get an error message stating that another plot is in process and only one plot or publish process can be active at one time. Thus, I'm forced to wait for the last one to complete before sending the next one to the plotter.
View 4 Replies
View Related
Jun 2, 2013
I am fairly new to AutoCAD. I have a AutoCAD drawing file containing 8 drawings on it. What I would like to do is to print each drawing to a single PDF pages.
View 1 Replies
View Related
May 26, 2011
Is there a way to plot multiple drawings in Acad 2009 without opening each drawing file?
View 1 Replies
View Related
May 21, 2013
I have one drawing per file at model tab. When I need to plot a multiple page file, I use:
Print > Batch Plot.
The problem is that I have to set plot configurations ( plot style table, plot area, paper size, etc) in each file before use Batch Plot.
Now I received 722 files with a wrong Plot Style Table. For this time I change the associated *.ctb file at Plot Style folder, but I will need to associate the right *.ctb to each drawing. It's also common to have to change other properties.
View 1 Replies
View Related
May 25, 2011
So I have the educational version of ACAD 2012 and this is my first time using that version. My model is done and I formatted my layout with a border and the model to scale in the viewport. When I go to plot to PDF, all I see is the border. I've tried fiddling with colors and viewports but neither of those did anything.
View 3 Replies
View Related
Jun 16, 2011
We are running Civil 3d which we jumed from Land Desktop 2004 (I know, wow). I cant figure out why I cant bulk plot my tabbedd sheets like I could in previous versions. I can PUBLISH in bulk, but not PLOT.
Am I missing something here?
View 5 Replies
View Related
Jun 4, 2012
I am trying to batch plot to PDF's from a drawing file that has multiple tabs in it. I would like each tab to be a separate PDF file. We are utilizing Acrobat X to write the PDF's. AutoCAD places all of the tabs into one file whether I tell a Multi-sheet file or a Single-sheet file.
View 6 Replies
View Related
Aug 29, 2012
I work with autocad 2011 and my problem is the following.
When my 3D vieuwport is properly set in my layout page. I try to plot my layout. when i've compledet my plotsettings I first check out that everyting is ok. and evrything looks great. but when I plot everything is plotted exept the 3D drawing. althoug the 3d drawing is shown on the plot preview. (look at pdf's to see what I mean).
Actual-Plot_3D.pdf
Plot-preview_3D.pdf
View 9 Replies
View Related
Sep 27, 2013
I have one layout. On that layout I want to have 2 viewports. I also have ssay block A and block B I want to insert.I would like Viewport1 to display block A and viewport 2 to display block B.
What happens to me is when I created Viewport 1 and inserted block A. I go on to create viewport 2. But viewport 2 displays only block A, which I cannon delete to insert block B.
View 1 Replies
View Related
Apr 30, 2013
I'm trying to plot my drawings and have all my line weights be the same in the final plot so that no line is more bold than another. I do custom home designs and am now adding in additional information that uses different colors for appliances, plumbing, etc.
I'm using the standard red, cyan, magenta, green, 252 gray scale colors, however, when I plot, all of the lines except red are thick and make the objects entirely too bold for my purposes. How do I fix this other than changing everything to red? I didn't have this problem when I worked with AutoCAD 2006 at my old company (we had drafters set up this stuff for us), but now that I'm on my own and trying to get my own plotting figured out, I'm struggling.
I attached an example for reference. It's the windows (gray scaled), plumbing fixtures (cyan), and appliances (magenta) that come out entirely too dark.
View 3 Replies
View Related
Mar 31, 2012
I'm trying to plot drawings through DWG to PDF.pc3, it works fine & opens up.But it skips the save dialog box and automatically saves in my local setting/temp folder with alpha-numeric name.
View 4 Replies
View Related
Dec 28, 2011
Whenever I plot the 3d drawings in PDF or in our plotter, Some lines or some drawings are not shown in the printed layout. sample.jpg. try to check the red circle, there should be other stuff inside it. and in the second circle the one with the line should have a line itself, i just put some red lines to show in the drawing, but please try to check all.
View 3 Replies
View Related
Jan 9, 2013
I have drawings with annotation and when I send to the plotter the processing is very slow, and take some time to plot.
View 1 Replies
View Related
Dec 11, 2012
Is it possible to plot (or print) all sub assemblies or parts drawings into separate pages by code?
I do not want to open and print every parts. One code and print all... Is it possible?
View 6 Replies
View Related
Oct 8, 2012
When I attempt to plot one or more of my drawings in model view to pdf the plot will show gaps in between the edge of the paper and my border. The plot will vary per drawing but limited to the ledger and tabloid paper size, the plot area is set to window for the area the border contains, and the plot scale is fit to paper.
View 9 Replies
View Related
Dec 22, 2011
I am trying to publish a set of four drawings to a Canon ipf750. I want to make two collated sets. So far I can't get any plot at all.
View 6 Replies
View Related
Aug 13, 2013
Is there a way to increase the access time so printing is faster?
I have AutoCAD 2013 and access drawings over VPN (6 meg pipe).
Both opening the drawings and especially printing them take a very long time.
It takes about 8 seconds to open drawings, due to all the modules loading on the bottom-left of AutoCAD. Printing takes even longer than opening the drawings.
Is there a setting I can change to speed-up access time?
View 5 Replies
View Related
Jun 20, 2012
I'd like to batch plot 50 drawings, all of which have the same title block in the same position. This is easy with the PUBLISH command, but I'd like to be able to add a "stamp" of the customer logo to these drawings, which I have as a block in a separate file. Basically I want to easily be able to plot the same drawings for different customers, the only difference being the customer logo. Is this possible?
View 1 Replies
View Related
Sep 20, 2011
I don't remember ever using this checkbox on the Publish dialog box but today i want to and i can't figure out how to make it work. The help file ~seems~ to say that if i select this, the contents of all open documents (layouts and/or model space) are automatically loaded.... but they don't.
I know i can pick the Add Sheets button and manually select all the drawings i have open but doesn't that defeat the purpose of this checkbox?
View 4 Replies
View Related
Feb 8, 2013
When we print from a read-only drawing file that is stored on our local drawing fileserver (a PC on our network that is used to store all finished drawing files) it can take several minutes to open the Plot screen and several more minutes to actually print the drawing. It doesn't matter which printer we use to print to. Some of us have had this problem since AutoCAD 2010 but some have had it only since 2013. However if we use an old AutoCAD 2007 there is no printing delay problem so the server doesn't seem to be the source of the problem.
If we print from a drawing file on our own systems (which is actually working off a local network server unless the server is down then we are working off our own computers that will re-sync with the server when it comes back on line) then there is no delay. I have made some local files read-only to see if that was the trigger but no, they printed just fine.
View 4 Replies
View Related
Apr 2, 2013
Lately when I plot my drawings the diagonal lines plot gray. I didn't change the line color. Can't figure it out.
View 1 Replies
View Related
Jul 6, 2011
I'm having some trouble while copying between drawings. I am attempting to merge a number of floor plans which are all saved as seperate drawings into 1 drawing. However whenever I copy the floor plan over to another drawing, some of the lines/objects seem to be displaced.
View 4 Replies
View Related
Dec 4, 2013
I am new to AutoCAD and have to export many drawings to PDF format to send them out to clients. I was wondering if their was a Macro or some other way to export drawings into pdf form without having to open each file and pressing export to pdf button?
View 9 Replies
View Related
Jan 28, 2013
I've started having a problem with the Publish command when publishing multiple drawings to PDF.
When I plot a drawing using the plot command, I don't have a problem.
When I publish one drawing using the Publish command it is also fine.
It is only when I try to publish multiple files that the problem occurs- the PDFs are produced, but the it is as if the drawing contents (paper space) has been shifted up by 10mm or so, cutting off the top of the drawing, and creating a larger margin at the bottom of the drawing. I use exactly the same page setup as for the single drawing plot.
There seems to be no setting that would change this, and the fact that publishing a single drawing works suggests that there is some kind of bug. At the moment i have to plot every drawing individually (or get my colleague to do it- it works fine on his machine, same page setup file!)
See attached example.
View 8 Replies
View Related
Mar 27, 2012
I have a multi sheet drawing I am creating. My BOM is on the first sheet.
I have noticed that when I place views on my subsequent sheets, the balloons restart from item 1 again. Is there a way to link them to the BOM on sheet 1?
(Colossians 3:23-25)
View 4 Replies
View Related
Dec 21, 2013
Combining multiple drawings in one go, I have 100 drawings (each has its layout) stored in 100 dwg files. I’m wondering if there is a way to combine them in one dwg file in one go assuming that they don’t overlap.
I need then to edit the title block of all of these layout knowing that this title block is an Xref.
View 5 Replies
View Related
Dec 22, 2011
Can I save multiple drawings to dxf in same time? I`m so tired to click "save copy as" with every drawigs. Autosave with flat pattern is not an option because orientation of the piece is so bad so many time of the cases
View 9 Replies
View Related
Nov 4, 2011
I'm running ACAD Map 3D 2009. I have to run ONE custom macro on a number of drawings that are stored in a particular folder.
Basically all I need is to:
open
run custom macro
close
go on to next drawing.
I just don't know how to write LISP.
View 3 Replies
View Related
Aug 18, 2008
I have multiple cad drawings (300 *dwg's)that need some items changed, is there a way to seach multiple cad drawing in my project for specific instances of text in each drawing?
Do the drawings have to be open? Can you seach just thru the project with out opening each drawing, how does this work?!
View 9 Replies
View Related