Script for parenting a shape node with another transform node.
Maya doesn't allow to create a parent-child relationship to the shape node with a new transform node using its interface. Actually could be very useful particularly for creating control boxes that control the joints.
Use and example:
Select the parent object, shift select the child and click on the button in the UI.
You can run the script without use the UI as well. Just select the parent object, shift select the child and run the "wp_ShapeParent_doIt()" procedure in the script editor.