CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 2778 
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    7151×  

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 6776:How to add a comment to a drawing object?
Tip 6495:AutoCAD does not show hyperlinks of my drawing objects.

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   

Automatic nesting of 2D parts on rectangular sheets in AutoCAD
AutoNEST 2008 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.