nod.nodetypes.blendShape

class nod.nodetypes.blendShape.NodBlendShape(*args)

Bases: nod.nodetypes.deformer.NodDeformer

DEFORMER_TYPE = 'kBlendShape'
addTarget(target, weight=1)

Adds a given mesh target to the current blendShape node

Parameters
  • nod.nodetypes.dag.NodDag (target (str or) – Target geometry to add to the blendShape node

  • weight (float) – Target weight value

  • topologyCheck (bool) – If True validate topology compatibility

fn()

Get BlendShape MFn function set for the current node

Returns

maya.api.OpenMaya.MFnGeometryFilter

nextAvailableTargetIndex()

Next available target index

Returns

Index

Return type

int

weightAliasNames()

Get weights alias names as list of strings

Returns

List of weight attribute alias names

Return type

list

property weights

Get weight channels

Returns

List of nod.channels.base.NodChannel

Return type

list