Is there a way to remove all of the references in a file without opening said file?
I have to remove all of the referecnes from many files and it gets annoying opeing each file, detaching the references, and the closing the file.
I searched the forums but could not find a solution to anything similiar to this issue.
Thank you!
Hi,
if you want to change a file (and reference removal is nothing else than the modification), you have to open it. The question is if it can be automated (e.g. using Batch Process). Do you need to remove all references or some specific only?
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
There is a "Command Line Argument" (-O) that will allow a user to open files without opening the References.
Copy the Desktop Icon Rt click go to Properties and after ......ustation add -O (...sta -O)
The References can be pointed to by a Variable or the Relative Path can be in the attachment so use a different Workspace or Place the file in a temporary location and It won't be able to find the files.
If you want to Translate or Save As there are options to Ignore Reference attachments.
You can Detach All References using a key-in "Reference Detach All" after you are in a file or use the key-in in a Batch Process or in a Macro that is run when you open a file. The key-in does require an acceptance point.
I Hope This Helps Someone Reading This! (Intergraph>PseudoStation>MicroStation user since 1980's)
Thanks George. It does not seem like the files can be altered witout opening them, but the detach all key-in may save a litle time. I have the files exported to a local folder from ProjectWise, so the reference files cannot be found, but it is time consuming to open each file, remove the references, and then close the file. I am not savy enough to use a batch process or a Macro, however, I will do a little research and see if I can quicly master the process.
Thanks for a quick response.