<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>[ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/products/road___site_design/f/geopak-inroads-mx-openroads-forum/246158/ord-2021-r2-unable-to-reattach-reference</link><description>I received a set of files from a client. 
 I need to repath many of the references. I thought that I could use the MS_RFDIR configuration variable, but that&amp;#39;s not working as well as I had hoped. I still have files that are not found, showing red in the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/772347?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 19:32:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b3b09494-9d48-4f0a-9a1a-d833db29d195</guid><dc:creator>Shawn Cooke</dc:creator><description>&lt;p&gt;I believe this may be the droid you&amp;#39;re looking for... Written for old V8i, but had this come up recently and was able to get it working in ORD batch process...&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.bentley.com/products/microstation/w/microstation__wiki/13850/rename-full-path-data-of-reference"&gt;Rename full path data of reference&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768803?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 18:56:54 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e59eaa7a-3528-4d98-ba16-d80449ed167f</guid><dc:creator>MaryB</dc:creator><description>&lt;p&gt;It might not be retroactive, but it&amp;#39;s worth a shot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768786?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 15:36:30 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0fc98cdb-dcfb-4500-8411-254f6370cd45</guid><dc:creator>Lucas Hicks</dc:creator><description>&lt;p&gt;This is a complete shot in the dark.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5922/Screenshot-2023_2D00_06_2D00_07-103800.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768783?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 14:57:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:9438adae-7a89-43d8-9def-ba37e8c33294</guid><dc:creator>MaryB</dc:creator><description>&lt;p&gt;Unfortunately, these&amp;nbsp;&lt;em&gt;are&lt;/em&gt; in the same directory.&lt;/p&gt;
&lt;p&gt;I have a &amp;quot;motif&amp;quot; file - a container file - referenced into the drawing model of the sheet. It is in the same directory. That file is showing red when I open the reference dialog with the drawing model active. I could understand if, for some reason the files nested into the motif file weren&amp;#39;t being found, as they are from several different base folders. But the motif file itself is not found - from the same directory as the open drawing.&lt;/p&gt;
&lt;p&gt;All the regular means of locating references aren&amp;#39;t working on these drawing models. It probably is related to the hard path information...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768780?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 14:15:15 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:64fcfa3f-e137-4c59-96a7-184f10258e23</guid><dc:creator>Zane Pratt</dc:creator><description>&lt;p&gt;Not sure if this helps.&amp;nbsp; If the reference files are in the same folder as the master Microstation should find the attachment.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768776?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 13:59:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1865a625-a1c0-4e46-a720-8f8bbf55d5bf</guid><dc:creator>MaryB</dc:creator><description>&lt;p&gt;What&amp;#39;s frustrating is that I can&amp;#39;t simply browse for the new path.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768772?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 13:44:27 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:432e6eee-e472-4d3e-82af-41580e02a97b</guid><dc:creator>MaryB</dc:creator><description>&lt;p&gt;Hoo boy...&lt;/p&gt;
&lt;p&gt;Yes, if you could find that macro, it would be very,&amp;nbsp;&lt;em&gt;very&lt;/em&gt; helpful. At this point, it sounds as if there&amp;#39;s nothing I can do. I mean, yes, I could go through everything and try to document the directory structure...&lt;/p&gt;
&lt;p&gt;But this is literally for our traffic guy &amp;quot;Here are the files they sent us so could you just print out the pavement marking sheets so I can look at them&amp;quot;. That is ALL we will be doing with these drawings. Why they couldn&amp;#39;t print the sheets and just send us PDFs baffles me, but it is honestly &amp;quot;just print me a few sheets&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768675?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 02:08:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:44373fa3-c27c-48e1-a7f2-9dba9c69e099</guid><dc:creator>Zane Pratt</dc:creator><description>&lt;p&gt;I second that!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768670?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 22:50:05 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d2aaa7dc-b9b5-437f-a3d3-1bf3d84bda4a</guid><dc:creator>Mark Plum</dc:creator><description>&lt;p&gt;Kevin:&lt;/p&gt;
&lt;p&gt;If you find that macro, would you be willing to post it? It sounds like a really handy thing to have!&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768669?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 22:04:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:31f56f7e-444b-4321-bef6-6b11e9406890</guid><dc:creator>Kevin van Haaren</dc:creator><description>&lt;p&gt;When they exported the files may have turned on the Update documents to use local paths for references and links. This changes out the PMWORK paths Chuck mentioned for relative pathing. If you don&amp;#39;t at least match up the relative pathing you&amp;#39;ll get missing files. MS_RFDIR won&amp;#39;t fix it (i think) because the files have path info in them (I thought MS_RFDIR was supposed to be used when it couldn&amp;#39;t find the file in the relative path, but that&amp;#39;s a very old memory)&lt;/p&gt;
&lt;p&gt;I thought I had a VBA that runs through and strips all the paths from references, this usually fixes this kind of issue, but I&amp;#39;m not finding it at the moment.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5922/pastedimage1686085705580v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768660?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 14:41:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5b0aaff3-dcff-403a-b5b2-448642f56a7c</guid><dc:creator>MaryB</dc:creator><description>&lt;p&gt;This may be the way, but it may not be that easy. They sent me their files in their directory structure (...\Base\Roadway\&amp;nbsp; etc.) not their PW work directory directory structure (d#######). If I am understanding you correctly, I need to recreate the PW workdir structure?&lt;/p&gt;
&lt;p&gt;On further investigation, MS_RFDIR is working on regular files. When I open the regular design files, it appears that everything is found as expected. I am only having this issue with the drawing models of sheet files. That makes me wonder if it&amp;#39;s related to the saved views somehow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768654?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 13:42:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6ee35448-493b-4748-8764-85a76b6f03b9</guid><dc:creator>caddcop</dc:creator><description>&lt;p&gt;ProjectWise uses a variable PW_WORKDIR that it manages for the &amp;quot;shadow&amp;quot; folders it creates.&lt;/p&gt;
&lt;p&gt;I discovered that you could manually assign these in a UCF or other CFG file and if the shadow folders from ProjectWise contained the files needed for references, you could open a ProjectWise file outside of ProjectWise and all of the reference files would still be found.&lt;/p&gt;
&lt;p&gt;These are the definitions I use to cover my normal ID as well as my Administrator ID. WE actually have three datasources but I am really only responsible for two of them, so our two primary working directories are c:\pwdata and c:\pwdata2. Making a single ID that accommodates both datasources and both ID&amp;#39;s complicates things a bit, but it serves my purposes.&lt;/p&gt;
&lt;p&gt;PW_WORKDIR &amp;gt; C:/pwdata/crheault/&lt;br /&gt;PW_WORKDIR &amp;gt; C:/pwdata2/crheault/&lt;br /&gt;PW_WORKDIR &amp;gt; C:/pwdata/admin-crheault/&lt;br /&gt;PW_WORKDIR &amp;gt; C:/pwdata2/admin-crheault/&lt;/p&gt;
&lt;p&gt;I also discovered that ProjectWise will scan the attachments when a file is checked in and if there are new attachments using the same syntax, it will refresh the tables that it maintains or reference file attachments.&lt;/p&gt;
&lt;p&gt;This image shows what it looks like in the dialog boxes associated with reference files. And you can copy and paste partial paths to reference files that were not being found and if the variables and paths are resolved properly, the attachment will update to reflect the correction and the paths saved in the file will now include all of the ProjectWise information.&lt;/p&gt;
&lt;p&gt;&lt;img style="height:514px;max-height:514px;max-width:682px;" alt=" " height="514" src="/resized-image/__size/1364x1028/__key/communityserver-discussions-components-files/5922/Screenshot-_2D00_-6_5F00_6_5F00_2023-_2C00_-9_5F00_35_5F00_23-AM.png" width="681" data-uw-rm-ima="un" /&gt;&lt;/p&gt;
&lt;p&gt;I found this to be one method of fixing just such a situation and once the method is used, it can go very quickly. Making a text file in notepad with reference file paths that multiple files are missing can speed up the copying and pasting process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768540?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 21:06:09 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e295e5bd-2104-4a8e-b546-5dfc40fe2eab</guid><dc:creator>MaryB</dc:creator><description>&lt;p&gt;No, I am not. I believe these files originally came from a ProjectWise environment, but I am not working through ProjectWise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ORD 2021 R2] Unable to reattach reference?</title><link>https://communities.bentley.com/thread/768539?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 20:48:31 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2c4cc73c-6876-43f8-94a1-4753f3dcd223</guid><dc:creator>Zane Pratt</dc:creator><description>&lt;p&gt;MaryB,&lt;/p&gt;
&lt;p&gt;Are you in Projectwise?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>