how I can use the key-in command for world coincident reference attachment without pressing “ok” button in the reference attaching dialog box?

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?

Parents Reply
  • 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.



Children