<?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: Project units in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/4591135#M7396</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any updates on setting unit in api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2013 10:22:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-05T10:22:13Z</dc:date>
    <item>
      <title>Project units</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3614950#M7391</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I want to merge my dxf file with navis drawing:&lt;/P&gt;&lt;PRE&gt;Autodesk.Navisworks.Api.Document doc = Autodesk.Navisworks.Api.Application.ActiveDocument;
                    if (doc.TryMergeFile(@"C:\test1.dxf"))
 {
                        MessageBox.Show("Merge successful.");
                    }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But when i merge this files.I open Tree Structure. Navis project has units "Inches", but test1.dxf has milimetres.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i set inches?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2012 16:15:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3614950#M7391</guid>
      <dc:creator>SergeyShevtsov</dc:creator>
      <dc:date>2012-09-11T16:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Project units</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3626706#M7392</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Using the .NET&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;API&lt;/SPAN&gt;&lt;SPAN&gt;, we can get the value of the Units for a document using the Document.Units() property. But it returns the units of the first model only. And setting the value is not possible since this property is read-only.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; Using the COM&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;API&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;does not either help since the part.LinearUnits (where part is InwOaPartition2) is read-only and does not allow us to set the units.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We have had wish to provide the API to set units.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2012 03:35:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3626706#M7392</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2012-09-20T03:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Project units</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3626728#M7393</link>
      <description>Thx for answer! I found the way to set units without API and COM, but with external application. But for launnch this application i need use external C# reference. I am add this dll in a references. But when i try use some procedures or functions in my plugin Naviworks crash with fatal error.. I tryed to connect other dll (maybe those dll has any errors) wich i wrote by myself, wich show message only.. and the same result Nws was crashed. Is there the way to use external reference?</description>
      <pubDate>Thu, 20 Sep 2012 04:32:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3626728#M7393</guid>
      <dc:creator>SergeyShevtsov</dc:creator>
      <dc:date>2012-09-20T04:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Project units</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3632218#M7394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The external reference of Navisworks plugin must be put within &amp;nbsp;&amp;lt;Navisworks installation path&amp;gt;\Dependencies\.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am interested in how you set the unit &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Did you get the handle of the dialog and swtich to the control of the Unit, and mimic changing unit? Is it possible to share some hints? Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2012 03:59:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3632218#M7394</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2012-09-25T03:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Project units</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3633918#M7395</link>
      <description>&lt;P&gt;thanks for answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;well for set units i used some scripts and windows handler. i think its wrong. but...&lt;/P&gt;&lt;P&gt;first of all i get screen size,then automaticaly press "structure view" &amp;nbsp;button, this button i check by coordinates,&amp;nbsp;&lt;/P&gt;&lt;P&gt;after i try to find this window, then press other button etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;well i know that awful desition, but it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2012 03:49:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/3633918#M7395</guid>
      <dc:creator>SergeyShevtsov</dc:creator>
      <dc:date>2012-09-26T03:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Project units</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/4591135#M7396</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any updates on setting unit in api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 10:22:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/4591135#M7396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-05T10:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Project units</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/4629851#M7397</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;This is still a wish&lt;BR /&gt;#11542: Ability to set the units of a document using .NET API.&lt;BR /&gt;&lt;BR /&gt;I did not hear an update on this. Sorry if this is bad news for you.</description>
      <pubDate>Mon, 18 Nov 2013 03:48:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/4629851#M7397</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2013-11-18T03:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Project units</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/4629925#M7398</link>
      <description>&lt;P&gt;Hi Xiaodong.&lt;/P&gt;&lt;P&gt;Sad to hear this news.&lt;/P&gt;&lt;P&gt;How about using Naviswork to change the unit of the model?Is it possible?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 05:27:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/project-units/m-p/4629925#M7398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-18T05:27:39Z</dc:date>
    </item>
  </channel>
</rss>

