I want to attach reference file using key-in command in a batch process command file. Both “RF=” and “reference attach” are properly working with coincident view (*) without any user input of pressing “Ok” button in the reference attach dialog box. But for the “coincident world” view (#), it needs a user input of pressing “Ok” button in the reference attach dialog box. I need to attach reference with world coincident system. Can anybody reply how I can use the command for world coincident attachment without pressing “ok” button in the dialog box?
Hello Sojo
Unfortunately, the # character is used as a comment character in the Batch Processing utility (in a BPRC file) as opposed to its use in the key-in browser. We have filed an enhancement to add this functionality to BP. Here's how it would work. the # character at the beginning of a BPRC line would act as a comment and further in the line it would act as it does in the key-in browser. I would estimate April to June of next year for availability.
Samir
Hi Samir,
Thank you for your updates
The attachment method can be set using the 9th argument (settings string). It takes the same syntax of name/value pairs that is used in the MS_REF_DEFAULTSETTINGS configuration variable. Multiple name/value pairs can be separated by commas. If spaces are needed in the name/value pair string, surround the entire name/value pair string with double quotes. So try this:
rf=g:\test2.dgn,,,,,,,,attachmethod=coincidentworld
I don't think that is in the documentation.
Perhaps someone in the help desk/documentation team is looking?Otherwise I think this will remain undocumented and probably lost in a future release ..Just like the cut n paste was for many versions..Only just got Tentative data back and written to the message dialog box in update 13.Been missing for 1/2 dozen updates due to it being undocumented functionality.The use of CTRL Z in modify commands has gone forever it seems though.So perhaps someone should tell the documentation team?Is there a documentation team? Or is it a bit like the BDN team and Schrodinger's cat?Okie Kokie...:-P
Anyone remember 'Where's Inga?'Missing Inga's originalsite.. most pages are now 404;-{
in V8i I attached multiple refs using just comma and didn't get a dialog..Barry's undocumented solution worked in MC upd 13 but any space in description and just the first word is read.. " ' \" tried all sorts..Works in V8i but not latest CONNECT.Had to replace space with underscores..Is it any wonder people want to stick with what sort of works. v8iBentley need a Troubleshooter/Software tester...
AskInga.com was deprecated and the content was moved to the AskInga wiki which you can find here: https://communities.bentley.com/communities/other_communities/askinga/w/askinga :-)
I was able to get this to work in CONNECT. Note the space in the Description.
rf=test.dgn,,,"My Description",,,,,,
Also note that the following still works in CONNECT:
https://communities.bentley.com/communities/other_communities/askinga/w/askinga/3084/keyin-to-attach-references