| Author |
Message |
CARL MARTI
Guest
|
Posted:
Wed Apr 28, 2004 6:02 am Post subject:
reference files. |
|
|
i have around 100 sheets. each sheet has a file that is reference to it.
the reference file has been renamed. the question is, is there a way where i
can modified the ref name in each sheet so it can redirect to the new file
without having to go into each file and doing it individually. any suggestions
are appreciated. thanks
|
|
| Back to top |
|
 |
D. Alan Hooper
Guest
|
Posted:
Wed Apr 28, 2004 8:25 pm Post subject:
Re: reference files. |
|
|
thats one of the major No No's . You NEVER rename files once a project is
started.
"CARL MARTI" <carlmarti@aol.com> wrote in message
news:20040427220241.15763.00000602@mb-m16.aol.com...
| Quote: | i have around 100 sheets. each sheet has a file that is reference to it.
the reference file has been renamed. the question is, is there a way
where i
can modified the ref name in each sheet so it can redirect to the new file
without having to go into each file and doing it individually. any
suggestions
are appreciated. thanks
|
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 4/13/2004 |
|
| Back to top |
|
 |
b0bik
Guest
|
Posted:
Thu Apr 29, 2004 3:28 am Post subject:
Re: reference files. |
|
|
carlmarti@aol.com (CARL MARTI) wrote in message news:<20040427220241.15763.00000602@mb-m16.aol.com>...
| Quote: | i have around 100 sheets. each sheet has a file that is reference to it.
the reference file has been renamed. the question is, is there a way where i
can modified the ref name in each sheet so it can redirect to the new file
without having to go into each file and doing it individually. any suggestions
are appreciated. thanks
|
First U should create a text file (1) consist of old and new file
names, for example :
c:\1.dgn;c:\1_new.dgn
c:\2.dgn;c:\2_new.dgn
After that You can for each dgn file, save to file (2) all file names
attached using MbeRefFile object. Now detach all reference, replace in
created file (2) old names with new names (using file (1)), attach all
reference again (using updated file (2)).
P.S. Sorry for my English : )
|
|
| Back to top |
|
 |
Lorys
Guest
|
Posted:
Thu Apr 29, 2004 1:26 pm Post subject:
Re: reference files. |
|
|
It depends what version of ustn your using.
If your using V8 you can use batch process utility and in that you can add
all the files like you do with batch printing then you can send a series of
commands just like you do in a macro like detach the old ref and attach the
new ref..
You can even build a macro to do this first then run the macro from inside
the batch process utility.. pretty quick processing too!
Now if your using V7 there are some free and some expensive Reftools search
the web via google with Ref + tools + microstation..
Or you have to learn to do the changes with EDg ..
or you have to make a script file that opens all the files one at a time and
detach reattaches the file .. the detach is not realy needed in any of these
solutions but other drafters will call you and say that a ref ile is missing
so to avoid this its best to detach the non existant ref file.
I also believe you can use msbatch commands from dos in a bost batch file to
attach the ref file but you need to research this in the help and maybe the
adminstators guide...lookup EDg at bentley as I have never seen the
instruction book for this but apparently you can do thisngs in EDg that look
like witch craft!
--
==========================
Lorys,
A Guy in Australia
At home after work, Sad isn't it?
==========================
"CARL MARTI" <carlmarti@aol.com> wrote in message
news:20040427220241.15763.00000602@mb-m16.aol.com...
| Quote: | i have around 100 sheets. each sheet has a file that is reference to it.
the reference file has been renamed. the question is, is there a way
where i
can modified the ref name in each sheet so it can redirect to the new file
without having to go into each file and doing it individually. any
suggestions
are appreciated. thanks |
|
|
| Back to top |
|
 |
CARL MARTI
Guest
|
Posted:
Sat May 01, 2004 7:06 am Post subject:
Re: reference files. |
|
|
| thanks. |
|
| Back to top |
|
 |
Kevin Snook
Guest
|
Posted:
Mon May 03, 2004 7:34 am Post subject:
Re: reference files. |
|
|
Carl,
I have a ref-rename macro that will work rather well, I will send in to you
in the morning as I'm at home and the macro is on my work server.
Kevin
"CARL MARTI" <carlmarti@aol.com> wrote in message
news:20040430230631.07015.00000562@mb-m24.aol.com...
> thanks. |
|
| Back to top |
|
 |
Kevin Snook
Guest
|
Posted:
Mon May 03, 2004 7:38 am Post subject:
Re: reference files. |
|
|
By the way, Renaming files after a project has started isn't good practice,
BUT if you have the right tools for the job it's not a problem. It happens
all the time. It's not a Major no..no.. as Hooper stated.
"CARL MARTI" <carlmarti@aol.com> wrote in message
news:20040427220241.15763.00000602@mb-m16.aol.com...
| Quote: | i have around 100 sheets. each sheet has a file that is reference to it.
the reference file has been renamed. the question is, is there a way
where i
can modified the ref name in each sheet so it can redirect to the new file
without having to go into each file and doing it individually. any
suggestions
are appreciated. thanks |
|
|
| Back to top |
|
 |
Lorys
Guest
|
Posted:
Thu May 06, 2004 12:54 pm Post subject:
Re: reference files. |
|
|
Can you post the macro here Kevin please.
What versions does it work with?
--
==========================
Lorys,
A Guy in Australia
At home after work, Sad isn't it?
==========================
"Kevin Snook" <ksnook6@charter.net> wrote in message
news:109bfntefqlvib6@corp.supernews.com...
| Quote: | By the way, Renaming files after a project has started isn't good
practice,
BUT if you have the right tools for the job it's not a problem. It happens
all the time. It's not a Major no..no.. as Hooper stated.
"CARL MARTI" <carlmarti@aol.com> wrote in message
news:20040427220241.15763.00000602@mb-m16.aol.com...
i have around 100 sheets. each sheet has a file that is reference to it.
the reference file has been renamed. the question is, is there a way
where i
can modified the ref name in each sheet so it can redirect to the new
file
without having to go into each file and doing it individually. any
suggestions
are appreciated. thanks
|
|
|
| Back to top |
|
 |
|
|
|
|