Home Youtube GitHub

Build Rope setup command


#1

I am trying to build the rope rig based on two curve selections without using the ui
Can’t really find my way around when I use this command
mgear.maya.rigbits.rope.build_rope(10, ‘Rope’, True)

I get this error

Error: RuntimeError: file C:\Program Files\Autodesk\Maya2018\Python\lib\site-pickages\pymel\internal\pmcmds.py line 134: Object ‘nbDeformers’ not found. #’


#2

I found that if instead of running this command
mgear.maya.rigbits.rope.build_rope(10, ‘Rope’, True)
I run this
mgear.maya.rigbits.rope.rope(10, ‘Rope’, True)

then it build correctly.
Unfortunately when I try to put this in a custom step then I get this error

Error: An exception of type AttributeError occurred.

Error: traceback (most recent call last):

File (“C:/…mgear/maya/shifter/guide.py”, line 879, in runStep
customStepDic[cs.name] = cs
AttributeError: ‘CustomShifterStep’ object has no attribute ‘name’’

any clue ?


#3

@Maurizio_Giglioli Sorry not sure about this. Never used with a custom step.

Just let you know that this tool is super old. And never update it, so is not ready to be use with custom steps.


#4

ok no worries, I kind of got it to work with the second command, thx