CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 2184 
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 1232:

Question CAD 
 %  platform  category 
Q - question

How to get the hyperlink value (address) from a selected entity?

A - answer To get the hyperlink from a selected drawing entity use the following function:
(assoc -3 (entget (car (entsel)) (list "PE_URL")))
function returns nil if there is no linked address, or the linked address in the following format:
(-3 ("PE_URL" (1000 . "")))
(-3 ("PE_URL" (1000 . "") (1002 . "{") 
(1000 . "") (1002 . "{") (1071 . 1) (1002 . "}") (1002 . 
100% *  CAD 
13.4.2001    6185×  
Comments   Tell a friend

See also:
Tip 10301:How to export PDF with hyperlinks from AutoCAD?
Tip 6881:List all hyperlinks in your DWG drawing.
Tip 6776:How to add a comment to a drawing object?
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

How to switch off the viewport frame? « | » I have problems with assignment selections under Windows 2000 (selects all).

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   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 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.