Cesky English Deutsch
Login/Register:
 Visitors: 1279 
Custom CAD application development
Become a fan of CADforum on Facebook
Follow us on Twitter
WWW server of the XANADU company (formerly: CAD Studio)

CAD tip CAD tip # 3812:

Question CAD 
 %  platform  category 
Q - question

Beware of using Copy/Paste to copy AutoCAD entities inside drawings.

A - answer It is documented in AutoCAD Help (see 'Use Windows Cut, Copy, and Paste' in UG) but still many AutoCAD users 'misuse' this functionality -- clipboard Copy/Paste is not suitable for copying entities from/to AutoCAD drawings, as you will loose precision (plus extended entity data, reactors, dbLinks, etc.). Windows Clipboard (WMF) is intended for transferring data to/from other Windows applications.

The differences in simply copied/pasted coordinates are on about the 9th decimal place so it may not come into your attention immediately but the precision lost is significant (influences dims, osnaps, etc.).

In the sample drawing below, the original (red) rectangle [0,0] - [1000000.1,1000000.1] was copied using Copy/Paste (Ctrl+C/Ctrl+V), then the _COPY command and then using _COPYBASE - Copy with basepoint (and then offset by [1,1] to make it readable). Only the Copy/Paste method distorts the vertex coordinates, making 1000000.0995 from 1000000.1.

The 'Copy with basepoint' function sets the exact coordinates and keeps full AutoCAD precision.

See:
Clipboard-instable.dwg (30kB, right-click/Save to download)
 or
copypaste.scr (script file demonstrating the problem; use on an empty drawing)

(Precision lost depends on your Windows version, your MS Office version and applied MS Office Service Packs.)

ACADLTADT
100% *  CAD 
11.5.2004    33045x   FAQ  
Comments   Tell a friend

See also:
Tip 7412:Autodesk Material Libraries 2011 - uninstall.
Tip 7219:Aligning drawings to multiple points (4, 5, 6 ...)
Tip 7042:List of inspection dimensions in the Inventor drawing.
Tip 6678:Autonumbering of AutoCAD blocks (incremental counter)
Tip 5738:How to set the displayed precision of a table cell?


Back   All CAD Tips All CAD tips&tricks

How to batch plot DWG drawings even without AutoCAD? « | » AutoCAD slows down after selecting MText with different TrueType font widths.

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings. You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Make your drawings dynamic - change text, attribute or color when other entity changes.
With LiveLabel 2007 More info


Please use these tips at your own risk.
XANADU (CAD Studio) is not responsible for possible problems that may occur as a result of using any of these tips.