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. Havent 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. I can't just use the MS_RFDIR to point to a different location because it has a different FileName.
Anyone have a solution? Any help would be appreciated! I have hundreds of files to do. Thanks to all (in advance)!
Simplest solution I could think of....
Rename your current reference design file name, reference.dgn to reference_old.dgn.
Rename your new reference design file and give it the name of the current (now old) reference design file, new.dgn to reference.dgn.
If the current reference design file and the new reference design file are not in the same location, use MS_RFDIR to add the folder location of the new reference design file that your would rename.
Your post suggests that these files are similar because you're considering slot number and level display settings, so this might work for your situation.
Plenty of information in Ms help - References Key-ins
REFERENCE ACTIVATE <file-spec>
Activates the selected reference for in-place editing. A black dot indicates it is activated.
REFERENCE DEACTIVATE <file-spec>
Deactivates the selected reference so that you can return to editing the active model. A gray check mark indicates it is deactivated.
REFERENCE ATTACH (or RF=)[configuration_variable:]<file-name>[,model_name][,logical_name][,description][,view_name][,scale][,nesting][,on|off]
Attaches a reference to the active model.
REFERENCE CLIP BOUNDARY <file-spec>
Applies a clip boundary to a reference.
REFERENCE CLIP MASK <file-spec>
Applies a clip mask to a reference.
REFERENCE CLIP DELETE <file-spec>
Deletes a reference clip boundary or clip mask.
REFERENCE CLIP BACK <file-spec>
Sets the back clipping plane for a 3D reference.
REFERENCE CLIP FRONT <file-spec>
Sets the front clipping plane for a 3D reference.
REFERENCE RELOAD <file-spec>
Reloads references that have changed since last loaded.
REFERENCE RELOAD FORCE <file-spec>
Forces a reload of references.
REFERENCE MOVE <file-spec>
Moves a reference.
REFERENCE COPY <file-spec>
Makes a copy of a reference.
REFERENCE SCALE ABSOLUTE|FACTOR|POINTS <file-spec>
Scales (resizes) a reference.
REFERENCE ROTATE <file-spec>
Rotates a reference.
REFERENCE MIRROR HORIZONTAL|VERTICAL <file-spec>
Mirrors a reference about a horizontal or vertical line.
REFERENCE COPY FOLDED HORIZONTAL|LINE|VERTICAL <file-spec>
Creates copies of references, folded about an orthogonal axis, or about a defined line.
REFERENCE PRESENTATION <file-spec>
Sets the presentation mode of a reference.
REFERENCE DETACH <file-spec>
Detaches a reference.
Good luck, Roland
V8i SS4 v.08.11.09,829AECOsim BD V8i