AutoCAD Inventor :: Save As - Drawing To PDF And JPG?
Jan 23, 2013
I'm using ilogic to cycle through my drawing views & save each view as a .jpg. Problem I am having is that it saves basically a screen-shot instead of just the sheet, so my background comes through along with the sheet. Reading some earlier posts I've learned that this is by design and can't be changed. That said, what I would like to do is have ilogic manipulate the zoom distance, & centering the sheet in my view in height & width bringing each sheet to a consistant point just before saving as .jpg. I'm embedding the images into an Access database table. If I have the images at least saving the paper space on a consistant scale, I can simply crop out the undesired portions within my Access report.
Is there a way in an inventor drawing rule to do a "save as" which saves the drawing as an Inventor dwg file rather than an AutoCAD dwg file?
The below saves as AutoCAD which is ok but I need the outputted drawing to be linked to the model. I don't want the code to save the entire assembly as this is done further down the line. I also don't want to save the current inventor dwg drawing from which the rule is run as this is just a template drawing.
I use autocad architecture 2013 and it works just fine until the save turns to qsave whenever i want to save a drawing by save, save as and ctrl+s it works as qsave..how can I turn it back to SAVE ?
I have a part (partA) and a drawing of it (drawingA).I want to save a copy of both (partB and drawingB) and make changes to partB and drawingB will update.
To do this do I save a copy of partA first to partB and then in drawingA replace part to partB and then save a copy of drawing to drawingB
I'm trying to automate the drawing-creation in our company. Steps I've taken:
- create new drawingdocument with template - Save new drawingdocument
Problem: Creation of new document works, but the next step, saving it to a specific location, fails. Error handler is initiated and displays error: Invalid procedure call or argument.
Used
Dim DXF_DWG as DrawingDocument'Create new drawing based on templateSet DXF_DWG = ThisApplication.Documents.Add(DocumentTypeEnum.kDrawingDocumentObject, ThisApplication.FileOptions.TemplatesPath & "Folded and Flatpattern DXF.dwg", True) 'Save new drawing to specific locationCall DXF_DWG.SaveAs("C:TempTest.dwg", False)
As told, the VB-code raises an error on the last command. What am I doing wrong? What are the correct steps in VBA to create a new drawing document based on a template and save the newly created drawing to a desired location?
as a part of automating manufacturing drawings, am trying to include ilogic code in the drawing , that would accept values from the user and store it as "user parameters" and make corresponding changes in the inventor drawing file.So, to replicate my issue on a smaller scale, i had created 2 parts and created an assembly out of these 2 parts. I used the assembly in my drawing.
In the Drawing i created a user parameter .. say "external_param". I am opening the drawing and changing the value of the user parameter through the (Fx) parameter table.
doc = ThisDoc.DocumentIf external_param >= 50 And external_param <= 99 ThenParameter("block_1.ipt.d0") = 15 'change the length of the blockParameter("block_1.ipt.d14") = 3 'change the number of holes in the blockElseIf external_param >= 100 And external_param <= 199 ThenParameter("block_1.ipt.d0") = 40Parameter("block_1.ipt.d14") = 5ElseIf external_param >= 200 And external_param <= 299 ThenParameter("block_1.ipt.d0") = 80Parameter("block_1.ipt.d14") = 6ElseIf external_param >= 300 And external_param <= 399 ThenParameter("block_1.ipt.d0") = 160Parameter("block_1.ipt.d14") = 9End IfRuleParametersOutput()iLogicVb.UpdateWhenDone = True'InventorVb.DocumentUpdate()
As you can see, i have commented out InventorVb.DocumentUpdate() , im not quite sure what would accomplish the update and save of the assembly document in the background (without prompting for a save/update). I have also tried thisDoc.Save and thisdoc.update. Using these 2 commands along with the InventorVb.DocumentUpdate() or iLogicVb.UpdateWhenDone caused Inventor to Crash.
I used to be able to open a drawing then close it right away, if it was not the drawing I was looking for, as long as I didn't pan, zoom, or do anything else. Almost a year ago I had a pop-up with-in AutoCAD that they reccommend I make this selection. I can't remember what it said really, it was something about a script or lisp loading at each drawing opening. Well, the result is the 'Drawing 1' does not disappear when I open another drawing and I would like that to stop. Also as I said it does it to every drawing. how to stop this? I tried the 'startup' command and that is not it. It is not a big thing just something I think is a waste of my time having to close that drawing each time I open AutoCAD. Not sure it matters but I am using AutoCAD 2012
Am using Autocad LT 2013 on Windows platform using Fusion Ware on a Mac Pro. This is a company owned computer and all files are saved to a server. This problem began occurring after we returned to work on Jan 2. I will be working in drawing and save regularly. Additionally autosave is set for 5 minute intervals.
Several times a day I get a message saying
"Unable to save drawing\serverfilename.dwg. Drawing saved to \serverfilenamesavF676.tmp."
When I check the folder where the drawing is supposed to be there is a "filename.dwl" and the "sav676.tmp." files but the original .dwg doesn't show up in the list.
If I save as the file to my desktop it is fine, but I then have to move it back to the server per company policy. This is extremely tedious to say the least. This happens several times a day so far.
The IT guy has twice reset the permissions for the Directory so the files are not Read Only (although when I check the main client folder and sub folders from my computer the Read Only option is checked and I cannot change this).
Another Autocad user in the office, LT 2013, says this has happened to him but only occasionally.
Also, several times I have noticed an alert pop-up that says something about "Unable to map network drive G:\" but clicking on the notice just expands the message. G Drive is the primary server in our office. The only PC computers in our office are used for Autocad, the rest are all Apple products and the IT tech is a Mac guy.
I recently started having trouble when I try to save a file. It started about an hour ago. I have been working on this file all day with no problems. What is happening is when I do a quick save or a save as I get an error that says "unable to save to drawing F:NNorthview SchoolsHS - Phase 5, 6 & 7NH-EPSF1A13.dwg. Drawing saved to F:NNorthview SchoolHS - Phases 5,6 & 7savACD.tmp"
If I do a save as It will say the same thing but it will delete the existing file that I tried to save over. I have to do another save as to get the file back. I think this is specific to this drawing because I have not had it happen with any other file.
I ran Recover on the two exref files as well as the working file. No errors are found. I have purged all the files and tried again but it did not work.
One of our Dell workstations has recently decided it will no longer save our CAD drawings to the network. Never had this issue before this week, haven't changed anything that we are aware of. No one else is having network issues. We have connected the computer to a different network outlet at another station, that has no effect on the problem.
When you attempt to save, if you watch the command line it will tell you "Cannot save drawing to K/Work Order/Project/drawing name.dwg, saved copy to K/Work Order//Project/(misc letters and numbers).tmp"
It then deletes the original drawing from its location and saves this temp file.
I am using Map 3D 2013 on a Windows 7 machine and am getting the following error when I try to do any save, q save or saveas: "One or more objects in this drawing cannot be saved to the specified format. The operation was not completed and no file was created."
I was working in this file yesterday and received the same error at one point. I shut CAD down and did something for a few hours before I came back and everything operated normally for a little while. I was able to make edits and save. But then this morning the error is back. Even upon opening the file and immediately trying to qsave it will give me the error. I have run an audit, purged, tried to copy everything out and save to a new file. Nothing appears to be working.
We do run network licenses and I am pulling my drawings from a server, nothing is local to my machine.
I have a blank drawing. I XREF another drawing, it looks good, everything makes sense... Then as soon as I save my drawing, the XREF disappears, and is no longer listed in the XREF manager!
when i clicked the x I hit don't save for one drawing i did not want to save but i did not want to close the next drawing yet the same message came up so fast i hit don't save again without realising and deleted 3hrs of work that i really do not want to do again so is there any way i can recover it?
I have created an iLogic panel which allows me to control my revision a lot easier and puts my entered data into the parameters of the sheet itself, is there a way to have this show up on the drawing itself for a template?
Setting up a tabulated ipart drawing template. Which is better...one drawing file with a table or individual drawings for each tabulation? Also does one method work better than the other when introducing vault?
I've recently made a new drawing template with ilogic prompts for entering data for all fields within the template. It also sets view sizes etc. I have lots of master drawings, which are reused when sizes etc change for a contract, which i would like to transfer to this new template. Drawing Resource Transfer Wizard does not offer this function.
I could get all drawings in a folder copied to specific sheet size on the master template.As the template will probably be developed further in the future I'm very loathed to do this take manually.
I would like to know if there is a way to insert drawing no.1 into drawing no.2 (not copy sheets!) so that if I change the drawing no.1, the drawing no.2 (the one that contains no.1) also updates.
That is because I would like to have one part of the drawing that is ''standard'' and multiple drawings that contain this part (so that this part is defined in all drawings but is always the same). Because I don't want to have a separate drawing for the ''standard'' part, but only drawings that contain it.
Randomly, a few times a week, I get an error in AutoCAD LT 2012 when trying to save a dwg file. It says
"Unable to save to drawing {filename} as it is being accessed by another session. Drawing saved to {filename}.tmp." The file then turns into Read Only and says
"Drawing file is write protected."
We have to do a Save As to a different filename in order to regain functionality.
I have problems with saving my drawing using the save option. I click save but when i close the drawing and reopen it i realise it didnt save at all. I actually have to 'save as' to get it saved.
ive been having a number of issues with an imported drawing which i have now resolved. however i cant now see my icon menu when im trying to open or save a drawing.
Several times, with different files, I get a message when I try to save a drawing using ctrl-S (or when clsoing an un-saved dwg);
Unable to save to drawing B: (file location folder)file name.
Drawing saved to B: (same file location folder)savD214.tmp
The only option is to click OK
Now there are several .tmp files in my job folder. I haven't tried to open them or anything else.
The original file will be lost if I close the drawing. I've had this happen when I clsoe the drawing before saving it - I'll get a message asking if I want to save the draiwng before closing it, and then I'll get this message, click OK, and the file will be gone. I have to to the .bak file, make a copy of it and change the file extension name to .dwg to get the file back.
If I get this message when I'm just doing a ctrl-S save, I immediately do a "save-as", copy over the original file name, and everything seems to be fine.
I´ve been using eTransmit command in previous versions, now that I´ve switched to v2012 there´s no longer support to save all dwg xrefs as dwg references in the eTransmit popup window. My dwg xrefs are instead attached as blocks.
I am using AutoCAD 2012 and I have an Issue that comes up once in a while. I will save the drawing that I am working in and a dialog box pops up with "AutoCAD Message. It says that it is unable to save to drawing, then lists the string where the drawing is found. Instead of saving as a .dwg, it creates a .tmp of the drawing. If I click the okay in the box it disappears and I can then resave the drawing as a .dwg. Lately it will even go so far as to lock the drawing and allow it to be only opened as a read only file.