dopwiretoolutils module

dopwiretoolutils.addDynamicsToFur(kwargs)
dopwiretoolutils.dopObjectInit(info, dopobjectnode, solvernode, objectnode, sopnode, subtype=None)

Specializes the DOP Object node initialization process for Wire Object nodes.

dopwiretoolutils.generateSelectionString(selection)

Generate a selection string from a selection. If everything is selected (e.g., all points, all primitives), then the “*” string is returned.

dopwiretoolutils.glueWireToAnimation(scriptargs, nodetypename, nodename=None, exact_node_type=True)
dopwiretoolutils.initWireProperties(dopnode, scale)
dopwiretoolutils.selectionPrompt(element_type)

Generates a selection prompt string for functions in this module.

dopwiretoolutils.setInitialPose(scriptargs, nodename=None)

Changes the initial pose of a Wire Object. This is done by creating a snapshot of the Wire Object’s current pose using a locked SOP and specifying the locked SOP in the Wire Object’s “initialpose” parameter. Any previous snapshot node used for the initial pose is removed.

dopwiretoolutils.setParm(node, name, value)

Safely set a parameter, checking if it exists first.