<?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: Hide the hierarchy of objects in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10208829#M5502</link>
    <description>&lt;LI-CODE lang="general"&gt;fn getHierarchy root = (join #() root)
fn isEditablePolyMesh node = (iskindof node Editable_Poly or iskindof node Editable_Mesh)
fn excludeEditablePolyMesh nodes = 
(
	for node in nodes where not isEditablePolyMesh node collect node  
)
fn collectEditablePolyMesh nodes = 
(
	for node in nodes where isEditablePolyMesh node collect node  
)

/*
nodes = getHierarchy $
are_epms = collectEditablePolyMesh nodes
not_epms = excludeEditablePolyMesh nodes
*/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS. Fixed some misspellings&lt;/P&gt;</description>
    <pubDate>Sat, 03 Apr 2021 04:17:56 GMT</pubDate>
    <dc:creator>denisT.MaxDoctor</dc:creator>
    <dc:date>2021-04-03T04:17:56Z</dc:date>
    <item>
      <title>Hide the hierarchy of objects</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10208445#M5500</link>
      <description>&lt;P&gt;I am hiding all the objects in a hierarchy but I need to not hide the objects that are editable poly and mesh that are still visible.&lt;BR /&gt;I am currently using a function that selects the entire hierarchy and hides the objects.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hide.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/901740iFC9671BDEBC3DC53/image-size/large?v=v2&amp;amp;px=999" role="button" title="hide.gif" alt="hide.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;	

fn getChildren obj includeParent:false selectObjs:false =
(
children = for c in obj.children collect c
for c in children do join children (for c in c.children collect c)
if includeParent do append children obj
if selectObjs do select children
children
hide children obj
)
getChildren $Character_root_Ctrl





fn getChildreninverse obj includeParent:false selectObjs:false =
(
children = for c in obj.children collect c
for c in children do join children (for c in c.children collect c)
if includeParent do append children obj
if selectObjs do select children
children
unhide children obj
clearselection()
)

getChildreninverse $Character_root_Ctrl

&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 21:17:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10208445#M5500</guid>
      <dc:creator>dg3duy</dc:creator>
      <dc:date>2021-04-02T21:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the hierarchy of objects</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10208786#M5501</link>
      <description>&lt;P&gt;here is all you need:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;fn getHierarchy root = (join #() root)
fn isEditablePolyMesh node = (iskindof node Editable_Poly or iskindof node Editable_Mesh)
fn excludeEdidablePolyMesh nodes = 
(
	for node in nodes where not isEditablePolyMesh node collect node  
)
fn collectEdidablePolyMesh nodes = 
(
	for node in nodes where isEditablePolyMesh node collect node  
)

/*
nodes = getHierarchy $
are_epms = collectEdidablePolyMesh nodes
not_epms = excludeEdidablePolyMesh nodes
*/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Apr 2021 03:15:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10208786#M5501</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2021-04-03T03:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the hierarchy of objects</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10208829#M5502</link>
      <description>&lt;LI-CODE lang="general"&gt;fn getHierarchy root = (join #() root)
fn isEditablePolyMesh node = (iskindof node Editable_Poly or iskindof node Editable_Mesh)
fn excludeEditablePolyMesh nodes = 
(
	for node in nodes where not isEditablePolyMesh node collect node  
)
fn collectEditablePolyMesh nodes = 
(
	for node in nodes where isEditablePolyMesh node collect node  
)

/*
nodes = getHierarchy $
are_epms = collectEditablePolyMesh nodes
not_epms = excludeEditablePolyMesh nodes
*/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS. Fixed some misspellings&lt;/P&gt;</description>
      <pubDate>Sat, 03 Apr 2021 04:17:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10208829#M5502</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2021-04-03T04:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the hierarchy of objects</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10209383#M5503</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Sat, 03 Apr 2021 14:01:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/hide-the-hierarchy-of-objects/m-p/10209383#M5503</guid>
      <dc:creator>dg3duy</dc:creator>
      <dc:date>2021-04-03T14:01:23Z</dc:date>
    </item>
  </channel>
</rss>

