"hide child tree" maxscript

"hide child tree" maxscript

RGhost77
Advisor Advisor
287 Views
1 Reply
Message 1 of 2

"hide child tree" maxscript

RGhost77
Advisor
Advisor

kly5Rd9dIwE.jpg


Does anyone know, it is possible access to this parameter through maxscript? ("hide child tree")

 


Royal Ghost | veda3d.com
0 Likes
288 Views
1 Reply
Reply (1)
Message 2 of 2

Serejah
Advocate
Advocate

Easiest one would be to zoom-pan to the selected node so it is centered in the view, emulate right click to get the menu, grab menu handle, find the menu item and click it.

 

Another method I used is waaay too low level. Had to find sme node pointer, HideChildTree method pointer and call it using the delegate i.e. Marshal.GetDelegateForFunctionPointer