<?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: Active Project .WDP Full File Path in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8745262#M22678</link>
    <description>&lt;P&gt;To find the active project wdp, use the solution found here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-electrical-forum/acade-net-api/td-p/5738510" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-electrical-forum/acade-net-api/td-p/5738510&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2019 13:39:32 GMT</pubDate>
    <dc:creator>mcoH3VZV</dc:creator>
    <dc:date>2019-04-22T13:39:32Z</dc:date>
    <item>
      <title>Active Project .WDP Full File Path</title>
      <link>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8742489#M22675</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wondering if anyone knows how to get the .WDP full File path into a string in C#.NET. ("C:\AutoCAD Home\Test Project\TEST.wdp")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried looking through the options on Application.DocumentManager, but cannot seem to find it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts?&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 19:31:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8742489#M22675</guid>
      <dc:creator>mcoH3VZV</dc:creator>
      <dc:date>2019-04-19T19:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Active Project .WDP Full File Path</title>
      <link>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8743179#M22676</link>
      <description>&lt;P&gt;you could try "findfile".&lt;/P&gt;
&lt;P&gt;on the command line try (findfile "test.wdp").&amp;nbsp; If that works, you can use it in code.&lt;/P&gt;
&lt;P&gt;example: (findfile "acaddoc.lsp") returns&amp;nbsp;&lt;BR /&gt;"C:\\program files\\autodesk\\autocad 2018\\support\\acaddoc.lsp"&lt;BR /&gt;to use it in code you need a try/catch.&lt;/P&gt;
&lt;P&gt;string fpath = string.Empty;&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;fpath = Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.Current.FindFile("test.wdp", doc.Database, acdb.FindFileHint.Default);&lt;BR /&gt;}&lt;BR /&gt;catch&lt;BR /&gt;{ }&lt;/P&gt;
&lt;P&gt;if (fpath != string.empty)&lt;/P&gt;
&lt;P&gt;i am not sure it works with verticals (projects, etc.)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 12:34:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8743179#M22676</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2019-04-20T12:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Active Project .WDP Full File Path</title>
      <link>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8745207#M22677</link>
      <description>&lt;P&gt;Perfect! Looks like findfile works great.&amp;nbsp; However, while running the updates I want, I will not know the name of the .wdp file. Is there a way to get the name of the active .wdp? From there, I can use findfile.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 13:11:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8745207#M22677</guid>
      <dc:creator>mcoH3VZV</dc:creator>
      <dc:date>2019-04-22T13:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Active Project .WDP Full File Path</title>
      <link>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8745262#M22678</link>
      <description>&lt;P&gt;To find the active project wdp, use the solution found here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-electrical-forum/acade-net-api/td-p/5738510" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-electrical-forum/acade-net-api/td-p/5738510&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 13:39:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/active-project-wdp-full-file-path/m-p/8745262#M22678</guid>
      <dc:creator>mcoH3VZV</dc:creator>
      <dc:date>2019-04-22T13:39:32Z</dc:date>
    </item>
  </channel>
</rss>

