CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 4533

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

See also:
Tip 13006:Calculated property descriptions (tobogan slide from floor to floor)
Tip 12766:Lines with a single grip, incorrect osnaps, intersections, offsets, hatches - CheckLarge
Tip 12697:Opposite angle for angular dimensions in Inventor drawings (iLogic).
Tip 12368:Gaps - how to find loose ends on lines in a DWG?
Tip 12282:How to dimension radius and center of a spline in a given point?


Back   All CAD Tips



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:
Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info


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