CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3582 
Live Webinar am 24.Juli: Generative Design

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    69874×   FAQ  

See also:
Tip 12282:How to dimension radius and center of a spline in a given point?
Tip 12237:UnfoldRS - unfold 3D surfaces to 2D in AutoCAD.
Tip 12233:How to compare two 3D mesh models and find differences/changes?
Tip 12228:How to set decimal precision (number of dec.places) for Inventor 3D Annotations?
Tip 12222:How to find elevation (altitude) of a given point on Google Maps?


Back   All CAD Tips All CAD tips&tricks



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, or donating via PayPal (see above). 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:
Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info


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