• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial
You are here: Home / AutoCAD / Using Multiple Hyperlinks with Block Attributes

Using Multiple Hyperlinks with Block Attributes

September 29, 2010 by Edwin Prakoso 5 Comments

In this Article...

  • Creating the Attributes
  • Inserting Block and Modifying Attributes

This may sounds like a simple question: can we add multiple hyperlinks to an AutoCAD block? The short answer is yes. There are many ways you can add hyperlinks, you can choose the one that suite your need:

  1. We can add hyperlink to an AutoCAD object inside the block. It means the URL is the same for every instance that use the same block definition. And this allows us to have several hyperlinks. This can be useful if you want to add links to manufacturer’s website, contact email, spec documents, etc.
  2. We can add hyperlink to AutoCAD block after we place it. It means we can have different URL for different instance. But we can’t have multiple hyperlinks in each of them. This is suitable if you want to give it an id. Not really sure how I can use it :)
  3. The last one is using attributes and fields. It means we can have multiple hyperlinks, editable and unique for each instance, and we can show and edit the text. This is what we are going to cover in this AutoCAD tip. This is suitable similar to 1st, but they are typical objects that can refer to different documents. I mean, in a floor plan, table is only rectangle right? But it can have different brand and type.

If you are not familiar with hyperlink in AutoCAD, you can read here how you can refer an object to a file or website URL.

Creating the Attributes

Creating this type of attributes is the same, we use ATTDEF. The difference is we use field. Click insert field in attribute definition dialog.

insert_field

In opened dialog box, change the field category to linked. There is only one field: hyperlink. Now we can change the hyperlink by clicking the button.

hyperlink_definition

Fill the text to display and URL (or document path) as necessary.

hyperlink_url

Click OK until all dialog box are closed and place the attribute. Create another attribute if you need multiple hyperlinks.

After you finish with the attributes, create the block definition. Now we are done!

Inserting Block and Modifying Attributes

Now let us try it. Insert the AutoCAD block, but do not change the hyperlink attribute! You may change other attribute value, but not the hyperlinks. They will loose the hyperlink if you do it.

So how we can change the attribute? Edit the attribute. You can use EATTEDIT or ATTEDIT. Do not change the hyperlink directly. Double click the value.

open_field_editing_dialog_

Now you are back to field editor. Here you can change the hyperlink and what text it should display.

hyperlink_edit

Change it as necessary. Then test it after you change the URL. Or if you changed the text, see if it changes. It works, isn’t it?

Do you link your AutoCAD object to other file? What is the common document you are referring to?

About Edwin Prakoso

I work as a Sr. Consultant in PT Cipta Satria Informatika. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and I am also active in Autodesk discussion forum. I'm a member of Autodesk Expert Elite, an appreciation for individuals who give contributions to the Autodesk community.
Connect with me on twitter or LinkedIn.

Filed Under: AutoCAD Tagged With: block attributes, hyperlink, text field

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

5 Comments
Inline Feedbacks
View all comments
artur
artur
10 years ago

É óptimo o vosso programa gosto do cad mas tenho dificuldade no inglês

0
Reply
blugirl
blugirl
12 years ago

Question…we have a user that's placed all of their hyperlinks in the master file that's been XREFed into others. When we're in the other drawings, we can't seem to access the hyperlinks in the XREFed master. If we try to select the object, it selects the entire XREF. Is there a way to make this work while keeping the hyperlinks in the file to be XREFed?

0
Reply
Armando Gutierrez
Armando Gutierrez
12 years ago

hello

i have a request, please help me i want to paste the "handle" to the "hyperlink" property in all my Drawing objects, i need to do this automatically, because i want to take this value to my dwf viewer and hyperlink is the only property it can handle

thanks =)

0
Reply
Rmiranda
Rmiranda
13 years ago

Adding Hyperlinks causes the program to freeze and crash.

0
Reply
Rmiranda
Rmiranda
13 years ago

Adding Hyperlinks causes the program to freeze and crash.

0
Reply
wpdiscuz   wpDiscuz

Featured

7 Benefits of using AutoCAD Sheet Set

AutoCAD Sheet Set offers many benefits if you utilize it. We list 7 of them here. If you haven’t use it, it’s time for you to try using it now.

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

© 2009 – 2025 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz