Adverti horiz upsell

Free Control Curves UI 1.0.0 for Maya (maya script)

Tool for easily creating and editing rigging control curves for Maya.

License
Button download
4,152 Downloads

Compatibility

  • 2019, 2018

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:09/22/2019
Last Modified:
File Size: 17.9 KB

Bugs

bs_controlsUI.py line 13: name 'reload' is not defined

Statuspending
Prioritymedium
Date11/15/2021
Submitted byStuart Trevor Stuart Trevor
Hiya, getting this error in 2022 - maybe a python 2/3 thing?

Thanks!

Comments on this bug:

  • Stuart Trevor

    Stuart Trevor said over 3 years ago:

    Managed to fudge it :) not sure all of this is necessary:

    bs_controlsUI.py:

    import importlib
    importlib.reload(bsCon)

    shelf button:

    import bs_controlsUI
    import importlib
    importlib.reload(bs_controlsUI)
    bsCon = bs_controlsUI.BSControlsUI()
    bsCon.bsControlsUI()

     
  • KiFLo

    KiFLo said about 3 years ago:

    Thank you Stuart this helped a lot!

    To further clarify what Stuart wrote:
    Step 0. Copy "bs_controls.py" and "bs_controlsUI.py" into your Maya scripts directory
    Step 1. Navigate to your Maya directory and go to Documents\maya\2022\prefs\scripts folder
    Step 2. Open the file "bs_controlsUI.py" file with notepad
    Step 3. Under the line "import bs_controls as bsCon" add a line "import importlib"
    Step 4. In front of the line "reload(bsCon)" add in "importlib." (The line of code should look like "importlib.reload(bsCon)"
    Step 5. Save the document
    Step 6. Open script editor on bottom right of your maya
    Step 7. Press the "+" sign in the middle of the pop up window and click Python
    Step 8. Copy and paste the codes:
     
    import bs_controlsUI
    import importlib
    importlib.reload(bs_controlsUI)
    bsCon = bs_controlsUI.BSControlsUI()
    bsCon.bsControlsUI()
     
    Step 9. Highlight the whole code, middle mouse hold, and drag to the shelf of choice
    Step 10. Click the new shelf button you created to run
     
    To further explain, the script was written in python 2 language and we need to make it into python 3 language in order to run it. Cheers!

Post a comment: