CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2467 

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 "" "" "")
 (princ)
)
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.
ACAD
100% *  CAD 
1.7.2009    25784×  
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 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:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension 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