<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using system variable to xref path in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12304895#M27290</link>
    <description>&lt;P&gt;You can use &lt;STRONG&gt;projectname&lt;/STRONG&gt; &lt;SPAN&gt;system variable&amp;nbsp;&lt;/SPAN&gt;to setup different paths per user.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-9C5FB777-337C-433A-9562-F395BF77186D" target="_blank"&gt;https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-9C5FB777-337C-433A-9562-F395BF77186D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As long as the dwg has the &lt;STRONG&gt;projectname&lt;/STRONG&gt; set, then each user under &lt;STRONG&gt;AutoCAD&lt;/STRONG&gt; &lt;STRONG&gt;Options &amp;gt; Files &amp;gt; Project Files Search Path&lt;/STRONG&gt; can be set with a unique folder structure per that user.&lt;/P&gt;&lt;P&gt;So for example, using your company name as project name in each dwg set &lt;STRONG&gt;projectname&lt;/STRONG&gt; to &lt;STRONG&gt;CompanyNameFolder&lt;/STRONG&gt;. Then each user under &lt;STRONG&gt;Project Files Search Path&lt;/STRONG&gt; would setup their own path for&amp;nbsp;&lt;STRONG&gt;CompanyNameFolder&amp;nbsp;&lt;/STRONG&gt;like:&amp;nbsp;&lt;STRONG&gt;C:\Users\Paul\AppData\Roaming\AutoDWG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1697220509504.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1279115i9F23226EB2F5F49A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_0-1697220509504.png" alt="paullimapa_0-1697220509504.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now as each user opens the drawing, their Options setup will search in whatever folder that's been specified based on&amp;nbsp;&lt;STRONG&gt;projectname&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;You can also read another example on this implementation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-forum/understanding-projectname/m-p/7042960#M876586" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-forum/understanding-projectname/m-p/7042960#M876586&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 18:12:09 GMT</pubDate>
    <dc:creator>paullimapa</dc:creator>
    <dc:date>2023-10-13T18:12:09Z</dc:date>
    <item>
      <title>Using system variable to xref path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12304415#M27288</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've a problem with xref in AutoCAD. We basically have the main .dwg file on our server and the xref files in a shared OneDrive folder. Every time someone opens it AutoCAD doesn't find the reference because it search in C:\Users\User\etc even if the path is set to relative. It's possible to use a system variable inside the path to give make AutoCAD automatically fill the user part of the path so that the error is not present anymore?&lt;/P&gt;&lt;P&gt;I've tried with %USERPROFILE% etc but AutoCAD complain that the path isn't correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any chance to solve it?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 14:50:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12304415#M27288</guid>
      <dc:creator>m_simonettoBLR3F</dc:creator>
      <dc:date>2023-10-13T14:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using system variable to xref path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12304645#M27289</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13675050"&gt;@m_simonettoBLR3F&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13675050"&gt;@m_simonettoBLR3F&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;... xref files in a shared OneDrive folder &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;... AutoCAD doesn't find the reference&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;SPAN&gt; even if the path is set to relative.&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Seems you have tried the suggestion from these links, but read the variables mentioned within:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/AutoCAD-DWG-files-lose-path-when-accessed-from-OneDrive.html" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;AutoCAD DWG files lose path when accessed from OneDrive&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Xref-paths-are-broken-for-different-users-when-opening-files-from-Google-Drive-in-AutoCAD.html" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Xrefs missing in AutoCAD when opening drawing from cloud storage&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/XREF-in-AutoCAD-is-Unresolved.html" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;External reference (xref) file is missing or unresolved in AutoCAD products&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another suggestion would be the ones mentioned here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://support.microsoft.com/en-gb/office/sync-files-with-onedrive-in-windows-615391c4-2bd3-4aae-a42a-858262e42a49" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Sync files with OneDrive in Windows&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Files-stored-in-OneDrive-fail-to-open.html" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Files stored in OneDrive cloud fail to open&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ValentinWSP_0-1697213056134.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1279057iD1598F6FC01B1069/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ValentinWSP_0-1697213056134.png" alt="ValentinWSP_0-1697213056134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related topic:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-164C2548-91E6-476D-AFDF-6257340C2EE2" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;About Setting Paths to Referenced Drawings&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-D04C68E3-DCB9-4251-AB96-DC02C90E1573" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Have You Tried: Manage References Outside AutoCAD&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 13 Oct 2023 16:15:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12304645#M27289</guid>
      <dc:creator>Valentin_CAD</dc:creator>
      <dc:date>2023-10-13T16:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using system variable to xref path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12304895#M27290</link>
      <description>&lt;P&gt;You can use &lt;STRONG&gt;projectname&lt;/STRONG&gt; &lt;SPAN&gt;system variable&amp;nbsp;&lt;/SPAN&gt;to setup different paths per user.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-9C5FB777-337C-433A-9562-F395BF77186D" target="_blank"&gt;https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-9C5FB777-337C-433A-9562-F395BF77186D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As long as the dwg has the &lt;STRONG&gt;projectname&lt;/STRONG&gt; set, then each user under &lt;STRONG&gt;AutoCAD&lt;/STRONG&gt; &lt;STRONG&gt;Options &amp;gt; Files &amp;gt; Project Files Search Path&lt;/STRONG&gt; can be set with a unique folder structure per that user.&lt;/P&gt;&lt;P&gt;So for example, using your company name as project name in each dwg set &lt;STRONG&gt;projectname&lt;/STRONG&gt; to &lt;STRONG&gt;CompanyNameFolder&lt;/STRONG&gt;. Then each user under &lt;STRONG&gt;Project Files Search Path&lt;/STRONG&gt; would setup their own path for&amp;nbsp;&lt;STRONG&gt;CompanyNameFolder&amp;nbsp;&lt;/STRONG&gt;like:&amp;nbsp;&lt;STRONG&gt;C:\Users\Paul\AppData\Roaming\AutoDWG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1697220509504.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1279115i9F23226EB2F5F49A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_0-1697220509504.png" alt="paullimapa_0-1697220509504.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now as each user opens the drawing, their Options setup will search in whatever folder that's been specified based on&amp;nbsp;&lt;STRONG&gt;projectname&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;You can also read another example on this implementation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-forum/understanding-projectname/m-p/7042960#M876586" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-forum/understanding-projectname/m-p/7042960#M876586&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 18:12:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12304895#M27290</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2023-10-13T18:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using system variable to xref path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12319486#M27291</link>
      <description>&lt;P&gt;Thanks a lot, works very well!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 12:42:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12319486#M27291</guid>
      <dc:creator>m_simonettoBLR3F</dc:creator>
      <dc:date>2023-10-20T12:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using system variable to xref path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12319586#M27292</link>
      <description>&lt;P&gt;Glad to have helped…cheers!!!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 13:22:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/using-system-variable-to-xref-path/m-p/12319586#M27292</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2023-10-20T13:22:37Z</dc:date>
    </item>
  </channel>
</rss>

