I am running Batch Convert to merge reference attachments on my drawing files.
Is there a way to exclude certain references on getting merged into the master file and remain as an attached dgn?
Thanks in advance
If they were the same reference files then you could write a batch process or script file or macro to turn off those named refs you don't want merged, then run the batch convert..
Then I would create a batch process / macro/script to reverse the changes so the refs are back on the originals..
however if you only did it to back ups then no need to reverse anything just delete the neve versions hen done...
Look in help on references there are specific keyins to turn on of off refs etc... or record a macro to get the syntax and apply it to all your refs that you need too...
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me
Unknown said:I was thinking that somebody will give the answer of running a script to do it, but have no clue on how to do it! It is a good workaround of creating a script to turn off the reference I need to be retained and another script to turn it back on. Great tip Lorys!!! Thanks.
The batch processor utility will let you create a simple script based on simple keyins.. if you cant work out the simple keyins from the help file then do a record basic macro
while you do whats needed by hand then review the macro contents to reveal the keyins you can or may need...
If the actions are complex or rely on dialog box tools basic wont pick up the options and you'll need to record a vba macro instead but if the ref files are exactly the same name etc that need turning off then vba is perfect as you wont need to do any editing of the macro or reprogramming of it so its the same process and macro for every file to be done then you can then assign to run vba to the batch processor on the selected files or through a customised F key pressed each time you want to process a file manually...
and another macro to turn them back on later...
don't be put off recording macros .. just write out all the steps that the macro would follow, practice doing the steps on a back up copy file.. then when your ready do a real macro record either VBA or Basic... don't fear using the pause button between steps to make sure your using the right tools...
If you can master the simple record system you'll become a microstation champion at work... just don't tell management how easy it actually is ..haha!