×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Please help. Unsolved AutoCad & VBA problem

Please help. Unsolved AutoCad & VBA problem

Please help. Unsolved AutoCad & VBA problem

(OP)
Hello,

Please help. I have an AutoCad drawing, which has a lot of Xref (external reference - collecting drawings from another location/folder in my computer and then posting them into a single AutoCad drawing). Recently, I renamed some Xref files and moved them into a different folder/location.

When I reopen my AutoCad drawing, some of my drawings cannot be displayed because some Xref are missing or not loaded (due to renaming and moving them into a different folder/location, which Autocad don't know how to locate them)
So currently i start fixing the Xref path by browsing each file to the correct name & path of the new location.

For a lot of Xrefs, this is very painfull. =) I am just wondering if there is a VBA code, which can help me fix this Xref issue. My first thought is to list all Old Xrefs (drawing name & its location) and New Xrefs in 1 folder, plug them into a VBA code, and run the VBA code in the AutoCad. Therefore, the program can match/compare the old and new Xref name & its location and automatically repath the Xref for me. Please let me know if this can be done. This really helps. Thank you in advance for your help.


Yudha

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources