I thought I could just say,
RF=<dir location>\file_name.extension
Any thoughts on the easiest way to attach a specified reference file? I'm going to use this as a batch function.
You need more than that to do it in a batch function. Using the RF=<filename> key-in will still open the references dialog.
From the MicroStation Help...
docs.bentley.com/.../GUID-7A13CA42-5F9A-D85F-11F0-922BBD09C2D8.html
REFERENCE ATTACH (or RF=)[configuration_variable:]<file_name>[,model_name][,logical_name][,description][,view_name][,scale][,nesting][,on|off]
To avoid having the dialog appear, you need to at least specify the model name, logical name, description, and view name,
RF=<file_name>[,model_name][,logical_name][,description][,view_name]
something like this...
rf="C:\EnvisionCAD\Training\WorkSets\MicroStation User Update\Drawings\class.dgn",default,test,"this is a test",*
Rod WingSenior Systems Analyst
The ending * is to specify all views.
I would also try putting Master Model in double quotes since it contains a space...rf="S:\SK Siltron - Site\Microstation\Reference GPU\MYLARBP.3D",Default,"Master Model","View 1",*