AutoCAD 2010 :: Insert Script Always Plots Different Results
Aug 1, 2012
My insert script always plots different results(off by a little bit, but not much)... unless I manually paste them line by line which complete defeats the purpose of having a script.
Using ACA 2012 and Windows 7 Pro x64. I have a drawing with two viewports. In one I'm showing the electrical layers and the base floor plan. In the other I'm showing casework and the base floor plan. All of the layers are contained in one xref so some are frozen in each viewport. When I bind that xref using the insert method (bindtype=1) some of the electrical layers show in the casework plan. I've tried everything I know of but I can't figure out how to surpress this behavior. If I use bindtype=0 the problem goes away but I end up with ugly layer names.
If you have had the issue with blue plotting purple with HP printers I discovered that its with the quality you set your printer at. If you plot draft or preview your blue will plot purple or a shade of purple. When I switched the quality to normal it fixed the issue. I called HP about the issue before I discovered this and they said update your drivers which mine were already.
I always try to use this wipeout command for electromechanical views that hide details so I don't have to trim line entities. I create pdf files then plot the pdf files to a printer. Why does the printed wipeout fill in black when printing?
While in model space anything I insert, copy/paste or bring into model space looks squashed compared to the original data. It's like the Z axis is rotated. As it sits all the original data in model space looks fine or "flat" as it should.
When measuring the inserted squashed object it's giving me the correct dims but because it's squashed 18" looks like 12", if that makes any sense. Also if I copy/paste the original data in model space into another new template it then looks squashed.
Is there a system variable or setting just for that dwg that could have been changed?
In 2008, never had this issue.Just dumb, circles, and lines in a view port, that have hidden or center linetyoes assigned to them. When we go to plot using legacy hidden (this new for 2012?) the plot comes out with continuous lines. These are not solids. Just ordinary line entities.Now, when I change the shadeplot to "hidden" the linetype is shown correctly, but now my entities are coloured, when I just want my drawing to be black and white (going to PDF), even though all of the colours in the pen style are set to "Black".
Has this changed? Is there a new variable introduced?
In some drawings the viewports automatically display viewport objects when I copy them and some they do not. There must be a systems variable and I searched through the systems variable tool in the Express tools and couldn't find it. How to get consistent results when copying viewports.
I have a drawing with multiple layouts which is of a road plan and profile in 2 view ports.
When I publish the multiple drawings to DWF the 2nd viewport with the profile in it is completely black, but when I plot to DWF a single layout, it works fine which I don't understand. Surely the publish command publishes to DWF with the same settings as when you do a single plot to DWF, no?.
I inserted a dwg created with Autocad LT 2004 into a MS Word 2010 document using: Insert | Object | Create from file. The result is the desired drawing is inserted but, in addition, the template used to create the dwg is also included and visible as if it is an additional layer. How to keep this from happening?
I have been able to insert a PDF into an AutoCAD 2013 dwg but only as an attachment. This seems to be similar to xref but I can't seem to bind the pdf to the dwg. Therefore when I send the dwg to a client and they open it, they only see the drawing format and no PDF attachment. Sending the PDF as a separate file is not an acceptable solution.
Is there a way to insert a PDF and bind it to the dwg so an external reference file is not required?
I'm not interested in converting the PDF to a dxf or any other format. Just interested in knowing whether there is a way to insert and bind a PDF to an ACAD dwg.
We have installed 35 AutoCAD 2010 on several computers. Some of these machines use Windows XP 32 bit and some are Windows 7 64 bit. We noticed few issues in both OS but here is one important one.On Windows XP user can insert a PDF file into a Cad file - Insert>Raster Image Reference then select the file type as adobe PDF.
Doing the same thing in Windows 7 wont insert a PDF file. The file type is set to "All image files". We type * as a file name and select a PDF file to insert. Result is an error window pop up saying "The file cannot be opened. The problem can be caused by several things:
-The data in the file is corrupted -The file is an earlier format that is no longer supported -The file format is not supported
Since the same version of AutoCAD on Windows XP inserts the same PDF file the none of these causes can be true. Why AutoCAD on windows 7 will not insert a PDF file?
I have a small LiSP routine I wrote about 14 years ago that no longer works. It is supposed to update a logo on a title block using the -insert command with a redefine option and a cancel
I need to insert a barcode into my drawing titleblock. I have the font loaded that I need, I just can't get it formatted so my barcode reader will read it. I am using the field "filename" to drive the text in the barcode. My issue is I need and asterisk as a prefix and a suffix to my file name so my barcode reader knows where to "start and stop". How can I format the field "filename" with an asterisk (*) as a prefix and suffix?
I worked with about 70 blocks that I routinely insert in drawings, at present I have an area where I keep all them in every drawing. I would like to have a bar that will contain the blocks where I can drag and drop them into place.
I have a drawing with all my block definitions and the blocks inserted and annotated. Seems that in a previous version of Autocad, I could insert the drawing and cancel the insertion at some point of the insertion command sequence, such that the drawing was not inserted, but all the block definitions remained. I could then use the insert command and all of these blocks were available. Yes, sometimes this made my drawing memory size rather large and I would have to purge the unused blocks later to reduce the memory size of my drawing.
I have a problem when I insert blocks who were originally saved as dxf.
For years I've been recieving dxf-drawings from our suppliers, and for years I've opened them, saved them as .dwg and then inserted them into my drawings. Lately, when I insert these blocks, they're scaled up by 25.4... It appears that AutoCAD converts them to inches instead of in mm.
When I check the scale of the block in "Properties", the insertionscale is always 1.
I've checked the "UNITS" in the dxf and the dwg, both are mm. I've checked "INSUNITS", "INSUNITSDEFSOURCE" and "INSUNITSDEFTARGET", all of them have value "4", which is "mm"...
The screenshot above is taken in the dxf-file. I've used the "DIST" command on the dimension which states "326", and as you can see, the distance measured is also 326...
The screenshot below is taken after I've saved the dxf as a dwg, and then inserted the dwg-file as block into a new drawing. The same dimension is measured, and then I get this:
I am trying to insert a table using a data link. I set up the Link through the DataLink manager and then insert the table using a range. I click OK to insert the table and after a few seconds of thinking ACAD sits there with no table on the screen. When I look in XREFs, the DL is there but says it is unrefrenced. Tried multiple ways of entering or setting up information to no avail.
I created a number of 3D blocks to be inserted into a 3D model of a building. I created the blocks in a separate drawing first; i defined them locally, then, when i had them the way i wanted them, I used "wblock" to save all of these blocks to a folder.
I then opened the 3D building model and tried to insert one of my new blocks. I repeatedly get the following:
I have tried repairing my installation of autocad with no improvement.
i tried opening the drawing of the block itself, copying it, and pasting it via the "copybase" command into the other drawing with the same result.
Occasionally, autocad will ask me if i'd like to debug the program (and visual studio opens) -- it mentions a "StackOverflowException" within acad.exe, and also mentioned "windowsbase.dll".
I am using windows 7 pro x64 and autocad 2011.
CPU: intel i7
Graphics: NVidia GeForce GTS 250
8GB DDR3 ram
The autocad error-reporting dialog never gets launched as it is forced to close before this point.
When inserting a jpeg into a drawing is it possible to insert it via it's center point? I am inserting utillity drawings on to an OS background and if i could insert via the center point it would save me a lot of time.
We are experiencing a case where the sheet list table will not insert into a page. It works on all other jobs, but this one won't let a sheet list table insert into any page, by any body.
I even tried inserting a block of the table from another set and then updating - all the lines disappeared.
We have done about 200 jobs with these, without trouble and this is the one giving us problems now.
how do I attach or insert a drawing from one dwg file into another dwg file? I'm drawing some and i want a site plan off of a different file i just want to take it and but it in my new drawing without have to draw the site plan over
I have a lighting block I need to insert into a drawing. Who ever drew the block did so upside down (so the top is really the bottom). I can't, for the life of me, figure out how to "rotate" it so that the top is correct. When I rotate the block, it simply keeps the top the top. When I copy and paste it, it stays the same as well. I tried inserting it into a new drawing.