#Radiant Pickwalk Module
##Setup
- Clone the repository somewhere on your computer, e.g. C:/SomeStuff/Repo
- Edit the folder in the radPickWalkModule.mod file to match the folder from step 1
- Copy the radPickWalkModule.mod file to Maya's modules folder (likely Documents/maya//modules)
- If you don't know where the folder is run getenv("MAYA_MODULE_PATH") in the Script Editor
- Run Maya, and go to Window -> Settings/Preferences -> Plug-in Manager
- You should see radPickWalk.py. Click on "Loaded" and "Auto-Load"
Once you load the plug-in you can bind a key to the following command: from radPickWalkFunctions import make_pick_walk_ui;make_pick_walk_ui()
Now you can use the key to bring up the pick-walk UI instead of clicking on the shelf :)
##Usage Before you can pickwalk you need to mark up your scene with attributes that encode the spatial relationships between the nodes.
###Navigation To navigate use UP and DOWN. CTRL + UP/DOWN will add the node to the selected set.
There are no out-of-the-box keybindings for LEFT and RIGHT, but you can bind whatever keys you want to the "radPickWalkLeft", "radPickWalkRight", "radPickWalkAddLeft", "radPickWalkAddRight" commands.
###Creating Relationships Go to the RadPickWalk shelf and click the button to open the UI.
The general workflow is:
- Select a node and click the centre button to set it as the source node
- Select another node and click on the up/down/left/right button to create the relationship
For example, if you select node1, click the centre button, select node2, and click the top button then whenever you have node1 selected CTRL-UP will select node2.
To clear a relationship, select nothing and then click on the direction you want to clear.
Note: Creating a relationship like node1 -> UP -> node2 does NOT create a node2 -> DOWN -> node1 relationship. You've gotta do the work yourself.