Notifications
Clear all

[Closed] Get PlugIN Parent [MaxScript]

Hi !

I am doing some plugin into maxscript

plugin simpleMod myFirstPlugin

And I would like to know if it is possible to get the object where the plug in is applied on.
Is there an easy way?

Thanks

1 Reply
 JHN

It will be something like:

refs.dependentNodes this

“this” is the plugin reference self, then refs.dependentNodes will return an array with the dependentNodes (beware of instances of the the plugin).

I’m not behind max, so I may be missing something, but it should work.

-Johan