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?
I just tested this using
This attached without asking me to press OK. Do you have the right number of commas to avoid it asking you for other options?
Thank you for your quick reply. I was using with a model name and a nesting depth also, then it was asking for 'ok' response. Now I will check again without that options. Anyway thank you for your response, I will check again.
This also works for me.
I think you checked in key-in browser. It was working properly for me also in key-in browser. I was asking about Batch process command file, it was not working with out pressing ok button when we used this in batch process command .
Yes. I was. I've just tried with a batch process with the same keyin and it worked for me
Oh it is working now. As per your second reply it is working
I think the # symbol location was not correct
Yeah, difficult to get it right. Needs some trial and error. I found this helpful
Now it is working and a big thanks to you Duncan. Your help is encouraging me to experiment more.
Hi Duncan, I noticed later only, your suggestion rf=g:\test2.dgn,default,test,test,,1,# also attaching as coincident only in batch processor, not as world coincident. These command also working properly in key-in browser, but not in batch processor. Later I found that # symbol will not work in batch processor command file.'#' character are treated as comments and will ignore in the batch process command file. So there may be a substitute character for # , I tried a lot but didn't reach successful.
Yes. You are right. That's one for Bentley to answer
Knowing the # is treated as comments in batch processing, I have substituted ‘\035’ in place of ‘#’ for batch processing of attaching references and get the “coincident world” to work.