<?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: Need Help-How to change Model Tree hierarchy of Navisworks ? in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13726901#M8211</link>
    <description>&lt;P&gt;Leaving this info here for future &lt;STRIKE&gt;victims&lt;/STRIKE&gt; readers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not possible to change the hierarchy directly. The best workaround I could find:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Navisworks addin starts external process (ie. worker.exe) and establishes IPC (this is required as calling NwCreate directly from the addin is not possible, see &lt;A href="https://adndevblog.typepad.com/aec/2012/05/nwcreate-with-net-plug-in.html" target="_blank"&gt;https://adndevblog.typepad.com/aec/2012/05/nwcreate-with-net-plug-in.html&lt;/A&gt;)&lt;BR /&gt;- Addin reads structure, properties and raw geometry (vertices, normals, transforms) from model (see &lt;A href="https://adndevblog.typepad.com/aec/2012/05/get-primitive-from-solid-of-navisworks.html" target="_blank"&gt;https://adndevblog.typepad.com/aec/2012/05/get-primitive-from-solid-of-navisworks.html&lt;/A&gt;)&lt;BR /&gt;- Addin transfers data via IPC to worker.exe&lt;BR /&gt;- worker.exe creates a Navisworks document from scratch using NwCreate and reassembles structure, geometry, properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to write your worker in C# you have to create your own bindings for `nwcreate.dll`, eg.&amp;nbsp;&lt;A href="https://gist.github.com/peterhirn/9c241386aecbf45de59256314c2a6372" target="_blank"&gt;https://gist.github.com/peterhirn/9c241386aecbf45de59256314c2a6372&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OTOH the .NET COM interop performance is not great, so I'm now considering rewriting everything in C++, see&amp;nbsp;&lt;A href="https://adndevblog.typepad.com/aec/2018/09/get-primitive-from-solid-of-navisworks-by-native-com.html" target="_blank"&gt;https://adndevblog.typepad.com/aec/2018/09/get-primitive-from-solid-of-navisworks-by-native-com.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;🤷&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2025 07:50:47 GMT</pubDate>
    <dc:creator>peter_hirn</dc:creator>
    <dc:date>2025-07-16T07:50:47Z</dc:date>
    <item>
      <title>Need Help-How to change Model Tree hierarchy of Navisworks ?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13230573#M199</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I imported my files from Revit into Navisworks.&amp;nbsp;The selected tree structure is fixed and cannot be changed.I try to change porperty.Value ,&amp;nbsp;But not modifiable.&lt;/SPAN&gt;I need to render the selection tree of&amp;nbsp;&lt;SPAN&gt;Navisworks&lt;/SPAN&gt; based on the data I entered in Revit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1449213iABFCFF2B342C8F9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;I've seen someone implement choice tree structural refactoring as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1449214i4866BD3B16F2F05C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;But I don't know how to do that.like below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1449215i2395DC258ACACA5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me. Best wish !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2024 13:53:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13230573#M199</guid>
      <dc:creator>piyinghai</dc:creator>
      <dc:date>2024-12-26T13:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help-How to change Model Tree hierarchy of Navisworks ?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13237217#M200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/16641536"&gt;@piyinghai&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To the best of my knowledge, it is not possible to modify the Model Tree hierarchy in Navisworks. However, you can sort the existing Model Tree hierarchy or create a custom selection tree.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the following links for more information:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://adndevblog.typepad.com/aec/2013/04/use-navisworks-api-with-wpf-binding-model-hierarchy-to-tree-view.html" target="_blank"&gt;https://adndevblog.typepad.com/aec/2013/04/use-navisworks-api-with-wpf-binding-model-hierarchy-to-tree-view.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/navisworks-api/sort-navisworks-model-tree-through-commandline/td-p/12774290" target="_blank"&gt;https://forums.autodesk.com/t5/navisworks-api/sort-navisworks-model-tree-through-commandline/td-p/12774290&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2025 07:57:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13237217#M200</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2025-01-01T07:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help-How to change Model Tree hierarchy of Navisworks ?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13238519#M201</link>
      <description>&lt;P&gt;Thanks for your reply, I need to have a try. Before that, I would like to ask if the results achieved by this article are as follows, is it the result under the standard mode of Navisworks' selection tree?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Result.png" style="width: 482px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1450470i345344300AD93879/image-size/large?v=v2&amp;amp;px=999" role="button" title="Result.png" alt="Result.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 09:53:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13238519#M201</guid>
      <dc:creator>piyinghai</dc:creator>
      <dc:date>2025-01-02T09:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help-How to change Model Tree hierarchy of Navisworks ?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13238542#M202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/16641536"&gt;@piyinghai&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your previous post, the attached image shows that I simply selected the standard mode and sorted the selection tree in ascending alphabetical order.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 10:12:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13238542#M202</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2025-01-02T10:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help-How to change Model Tree hierarchy of Navisworks ?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13726901#M8211</link>
      <description>&lt;P&gt;Leaving this info here for future &lt;STRIKE&gt;victims&lt;/STRIKE&gt; readers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not possible to change the hierarchy directly. The best workaround I could find:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Navisworks addin starts external process (ie. worker.exe) and establishes IPC (this is required as calling NwCreate directly from the addin is not possible, see &lt;A href="https://adndevblog.typepad.com/aec/2012/05/nwcreate-with-net-plug-in.html" target="_blank"&gt;https://adndevblog.typepad.com/aec/2012/05/nwcreate-with-net-plug-in.html&lt;/A&gt;)&lt;BR /&gt;- Addin reads structure, properties and raw geometry (vertices, normals, transforms) from model (see &lt;A href="https://adndevblog.typepad.com/aec/2012/05/get-primitive-from-solid-of-navisworks.html" target="_blank"&gt;https://adndevblog.typepad.com/aec/2012/05/get-primitive-from-solid-of-navisworks.html&lt;/A&gt;)&lt;BR /&gt;- Addin transfers data via IPC to worker.exe&lt;BR /&gt;- worker.exe creates a Navisworks document from scratch using NwCreate and reassembles structure, geometry, properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to write your worker in C# you have to create your own bindings for `nwcreate.dll`, eg.&amp;nbsp;&lt;A href="https://gist.github.com/peterhirn/9c241386aecbf45de59256314c2a6372" target="_blank"&gt;https://gist.github.com/peterhirn/9c241386aecbf45de59256314c2a6372&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OTOH the .NET COM interop performance is not great, so I'm now considering rewriting everything in C++, see&amp;nbsp;&lt;A href="https://adndevblog.typepad.com/aec/2018/09/get-primitive-from-solid-of-navisworks-by-native-com.html" target="_blank"&gt;https://adndevblog.typepad.com/aec/2018/09/get-primitive-from-solid-of-navisworks-by-native-com.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;🤷&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 07:50:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/need-help-how-to-change-model-tree-hierarchy-of-navisworks/m-p/13726901#M8211</guid>
      <dc:creator>peter_hirn</dc:creator>
      <dc:date>2025-07-16T07:50:47Z</dc:date>
    </item>
  </channel>
</rss>

