Installation
Overview
This will cover how to install the bdGenerator script
on Maya 2020 (Python 2) and Maya 2022 (Python 3).
Installation of the script
1- Download bdGenerator.py and put it into the folder Documents/maya/scripts/
Maya 2020 (Python 2)
2- Copy/paste this into your python script editor in Maya
import bdGenerator
reload(bdGenerator)
3- Select everything and drag it with the left mouse button onto your shelf and select python
Maya 2022 (Python 3)
2- Copy/paste this into your python script editor in Maya
import importlib
import bdGenerator
importlib.reload(bdGenerator)
3- Select everything and drag it with the left mouse button onto your shelf and select python
Adding the icon
You should now have the basic python icon in the shelf that represents your script
Now, if you want to have a more fancy icon, download my bdGenerator Icon
Now to replace the python icon by this one, just right click on the button and hit edit
In the “Shelves” tab, click on the Icon Name folder and go find the icon you just downloaded
Now it should look like this !
The installation of the script is done