I am looking for a way to Batch Process substituting/replacing one reference file attachment for a different file. It would be similar to double clicking the Reference and Browsing to a new file. Haven't been able to find any key-in for this action.
I would like to identify a current attachment and redirect it to a different file. I browsed the newsgroups and could not find a solution.
I don't want to detach the reference and attach a new reference because it would loose it's slot # and level display settings.
Anyone have a solution? Any help would be appreciated! I have hundreds of files to do. Thanks to all (in advance)!
Here are a couple of mvba macros that you can use to do that, not sure which one would be best suited, maybe look through the code to see what each one does.
Re-attachLostRefs.mvbaRe-attachRefs.mvba
Hello Garry,
use following key-ins in command file.
reference detach "filename"
reference attach "File Path\Name"
HTH,
Bhavesh
thanks, I had to create a mvba. it did the trick.
Answer Verified By: Garry Spivey
you want to share it here maybe.. seems like a common feature that should come with mstn... and a nice gui or at least add to batch processor so you can scan everywhere it was used and replace it ... then later you delete the old ref file...
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me