Quick Parent Link
Quick Parent Link is a script to allow you to quickly pick a chain of obects to set them into a parent/child hierarchy. It works a little more efficiently than the native Select and Link tool (which requires you to click child, drag to parent, let go, then select that parent as a child again and drag to its parent, etc).
With Quick Parent Link, you simply pick a node, then it's parent, then that object's parent, etc... on up the chain. Each node is a single click instead of several hand motions. Or you can drag the mouse over object from child to parent to "paint" the chain. (Added in version 1.2). This means you can paint the hierarchy of dozens or more objects with a single mouse swipe.
There is also now a new macrosript called Quick Parent Selection that works on the current scene selection based on the order you selected them.
Download instructions and more usage instructions are in the link below.
- Added Quick Parent Selection macroscript. this is similar to Quick Parent Link except it works on the current scene selection. It has no visual feedback because it works on the objects you already selected, in the order you selected them.
- Added more color coding. Grandparents are now always some shade of blue.
- Added support to overlap hierarchies and reuse nodes already in a stroke set.
- Fixed false logical error when trying to parent a chain to another chain that unset a parent.
- Added visual cues about the objects you've linked.
- Removed some bad copy-pasta that came from another script I wrote and used as template for this.
- Added ability to draw/swipe the parent chain across the screen. With this you can make a hierarchy of multiple objects with one stroke of the mouse.
- Fixes the script entirely. It was broken when I packaged it into a Macroscript. Since I didn't close Max during any of the development/testing (which was brief) I didn't notice the problem with the local variables. (Since the functions were originally written in the global scope and existed in Max even after I was testing with the MacroScript). Sorry about that.