CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

CAD tip CAD tip # 4538:

Question

CAD 
 %  platform  category 
A
You can redefine the behaviour of the internal COPY command. Add the following lines to one of the autoloaded .LSP file (e.g. acad2006doc.lsp):
  
 
(command "._undefine" "_copy")  
(defun c:copy() (command "._copy")(princ))  
You can always use .COPY to access the internal version of the command or REDEFINE COPY to revert back to the internal/standard (new) version of the COPY command.
ACAD2005ACAD2006
100% *CAD
19.7.2005   11319×  
   
this tip shared by ARKANCE experts applies to: AutoCAD 2005 · AutoCAD 2006 ·

See also:
Tip 14957:Controlling Navisworks from the runstring.
Tip 14931:Do you know the command -INSERTCONTENT for inserting a block from another DWG file?
Tip 14618:Easy copying of DWG entities with rotation.
Tip 14565:MAPIINSERT in version 2026 ignores georeference from the World file.
Tip 14446:Undocumented options in AutoCAD FIELDs - hyperlinks, hexadecimal or binary format


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
  





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