Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
I am currently using a function that selects the entire hierarchy and hides the objects.
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
Solved! Go to Solution.