Free Control Curves UI 1.0.0 for Maya (maya script)
Tool for easily creating and editing rigging control curves for Maya.
Reviews Love it? Or maybe you want to share some creative ways you're putting this item to use.
-

Hi everyone,
If you're having trouble running the bsControls script, try opening the file bs_controlsUI.py in a text editor and modifying the code. Replace:
import maya.cmds as cmds
import bs_controls as bsConreload(bsCon)
bsUtils = bsCon.BSControlsUtils()
bsData = bsCon.BSControlsData()with:
import maya.cmds as cmds
import bs_controls as bsCon
from importlib import reloadreload(bsCon)
bsUtils = bsCon.BSControlsUtils()
bsData = bsCon.BSControlsData()This change fixed the issue for me—hope it helps! 👌
A bit of the reasoing behind it:
In Python 2, the reload() function was built directly into the language, so you could call it without any additional imports. However, in Python 3, it has been removed from the global namespace as part of an effort to streamline the language’s import system. Now, if you need to reload a module, you must import reload explicitly from the importlib module like this:
from importlib import reload
-
Hey! im using 2024, te comment from Marco really helped me but i still had an error, to fix it you have to do what Marco says:Replace in the bs_controlsUI.py file:
import maya.cmds as cmds
import bs_controls as bsConreload(bsCon)
bsUtils = bsCon.BSControlsUtils()
bsData = bsCon.BSControlsData()with:
import maya.cmds as cmds
import bs_controls as bsCon
from importlib import reloadreload(bsCon)
bsUtils = bsCon.BSControlsUtils()
bsData = bsCon.BSControlsData()
AND ALSO in the importer button in your shelf change add this line at the top of the code:from importlib import reload
so the code in your maya shelf button should be:
from importlib import reload
import bs_controlsUI
reload(bs_controlsUI)
bsCon = bs_controlsUI.BSControlsUI()
bsCon.bsControlsUI()
-
I appreciate the utility of the Control Curves UI; however, have you considered how this might affect workflow efficiency in larger projects? Streamlining interactions could benefit us all! Wordle Hint
Please confirm your email before commenting.