paya.runtime.parts.Part#

class Part(groupNode)#

Inheritance

PartBase Trunk

Base class for rig parts.

classmethod create()#

Stub constructor.

Returns

A fully configured empty part.

Return type

Part

classmethod _getCreateNameContext()#

Called before a build wrapped by partCreator() to establish the naming environment.

Parts are named according to these rules:

  • If there is no active Name block, the name element will be set to 'unnamed'.

  • There must be no active namespace.

Returns

A configured context manager.

Return type

Name