autorigs.modules.simpleexample1 package

Submodules

autorigs.modules.simpleexample1.autoRigsSimpleBuilder module

class autorigs.modules.simpleexample1.autoRigsSimpleBuilder.AutoRigsSimpleBuilder
classmethod buildRig(index, assetnode, options, simpleguide, modulename)

autorigs.modules.simpleexample1.buildSimpleGuide module

class autorigs.modules.simpleexample1.buildSimpleGuide.SimpleGuide(assetnode)

Bases: autorigs.modules.base.buildBaseGuide.BaseGuide

buildFromJsonExisting(json)
buildFromJsonNew(json, paramjson)

paramjson is the transforms, which we don’t use here but could use in other situations. However, since the parameters widgets are linked to the ndoes in the viewport, doing a fromJson call there will actually update the values of the transforms in the nodes to the values in the json (see simpleGuideParams.py). Hence, we don’t actually need to do any transforming here.

getGuideObject(guidename)
toJSON()

autorigs.modules.simpleexample1.simpleGuideOptions module

class autorigs.modules.simpleexample1.simpleGuideOptions.ModuleOptionsWidget

Bases: sphinx.ext.autodoc.importer._MockObject

fromJSON(json)
toJSON()
unlinkAllNodes()

autorigs.modules.simpleexample1.simpleGuideParams module

class autorigs.modules.simpleexample1.simpleGuideParams.ModuleParamsWidget(simpleguide)

Bases: sphinx.ext.autodoc.importer._MockObject

Constructor of the guide parameters. The simpleguide is a class that contains all of the guides that are built

fromJSON(json)
null0widgets = None

This will return a dictionary of {label, nodes, parameters} that will be used by the createParamWidget helper to create transform widgets

toJSON()
unlinkAllNodes()

autorigs.modules.simpleexample1.simpleModule module

Module contents

Remember to change the Makefile & python_scripts_files.cmake if you want to use the simpleexamples Also need to add the json path in defaultProperties.py