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 # 6776:

Question

CAD 
 %  platform  category 
A
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   45982×  
   
this tip shared by ARKANCE experts applies to: AutoCAD ·

See also:
Tip 14446:Undocumented options in AutoCAD FIELDs - hyperlinks, hexadecimal or binary format
Tip 14414:Link geo-tagged photos from your mobile phone to AutoCAD DWG maps.
Tip 14039:How to display the total volume or surface of 3D solids in DWG?
Tip 13716:HYPERLIST - list of all used URLs.
Tip 13522:LookupXLS - populating DWG texts from Excel spreadsheets.


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