返回相关节点

refs.dependentNodes <MAXObject> firstOnly: <bool> baseObjectOnly: <bool> 

Returns node(s) that are dependent on the specified MAXObject.

If firstOnly: is true, if no nodes are dependent on the specified MAXObject a value of 'undefined' is returned, otherwise a MAXNode value corresponding to the first dependent node found is returned.

If firstOnly: is false or not specified, the return value is always an array.

If baseObjectOnly: is true, only nodes where the MAXObject is the base object will be returned.

Available in 3ds Max 2008 and higher. Previously available in the Avguard Extensions.

----------------------------

aa = refs.dependentNodes $.mat

原文地址:https://www.cnblogs.com/guilt/p/4857956.html