Browse By

Create a quick Point Drag Script to help in your modeling

You can pick a point then move it or you can just point and drag it this way it’s faster to adjust your points to do this go to Window>Settings/Preferences/Preferences then select the Selection subsection in the Settings section activate click drag select this way you can just clock and drag your points while modeling or you can create a simple script in the Script Editor like so go to the script editor in the MEL tab type the following


selectPref -clickDrag true;
iconTextCheckBox -e -v `selectPref -q -xformNoSelect` lockSelectionIcon;
selectPref -clickBoxSize 40;
// Result: lockSelectionIcon //
updateHighlightSelectIcon;

Then highlight the code and drag it with your middle mouse button to your custom shelf to create an icon then to deactivate point drag after activating it right click on the icon you just made and go to the Double Click Command tab there you will add this code


selectPref -clickDrag false;
iconTextCheckBox -e -v `selectPref -q -xformNoSelect` lockSelectionIcon;
selectPref -clickBoxSize 4;
// Result: lockSelectionIcon //
updateHighlightSelectIcon;

This will deactivate Click Drag when you double click the icon.