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

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    18794x  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
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.
Tip 5976:Keyboard shortcuts defined in AutoCAD.


Back   All CAD Tips All CAD tips&tricks

How to change the default drawing sheet in Inventor? « | » How to convert an AutoCAD Architecture model to 3D solids?

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 (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist