CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 3054

CAD tip CAD tip # 6776:

Question CAD 
 %  platform  category 
Q - question

How to add a comment to a drawing object?

A - answer You can use the HYPERLINK command (Ctrl+K) and fill only the "Displayed text" portion of the Hyperlink dialog (no hyperlink is neccessary). This text is then displayed (as a tooltip) when you hoover your mouse over the drawing object.

To make the procedure quicker, you can use the following LISP code to add just the text (the comment):

(defun C:COMMENT ( / ss)
 (prompt "Select objects to comment: ")
 (setq ss (ssget))
 (command "_-HYPERLINK" "_Ins" "_Obj" ss "" "" "")
Save this code to a comment.lsp file, load it with APPLOAD and start the Comment command. You can also create a toolbar button for it.
100% *  CAD 
1.7.2009    30472×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 11757:How to change blocks properties ex-post: annotative, allow exploding, scale uniformly
Tip 10301:How to export PDF with hyperlinks from AutoCAD?
Tip 6881:List all hyperlinks in your DWG drawing.
Tip 6495:AutoCAD does not show hyperlinks of my drawing objects.
Tip 6344:HYPERLINK is very slow (hangs) on the first run.

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   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools 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.