ronjonp Posted July 21, 2016 Posted July 21, 2016 Just a shot in the dark but try taking out the line (vla-reload b). Quote
Tripledot Posted July 22, 2016 Posted July 22, 2016 Just a shot in the dark but try taking out the line (vla-reload b). Hi ronjonp. It somewhat worked. I ran the routine & the command line indicated Command: xrefr Initializing... U:\.........\.......\.........\.......\xxxx.DWG U:\.........\.......\.........\.......\yyyy.DWG --- Xref change finished! --- But no change in the drawing & in Externally Reference box, nothing changed. But i still save the dwg & open again & the xref path now show the new path. How to get it to reflect the changes when the lisp runs instead of having to save & reopen the drawing to reflect the changes. Thanks Quote
ronjonp Posted July 22, 2016 Posted July 22, 2016 Not the best solution, but you could call (command "-xref" "reload" "*") at the end of the routine. Quote
Tripledot Posted July 23, 2016 Posted July 23, 2016 Not the best solution, but you could call (command "-xref" "reload" "*") at the end of the routine. Do you know why it happend? where do i add this line of code to? Thank ronjonp Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.