PaintWeights

Introduced

5.0

Description

Modifies the value of a weight property.

Scripting Syntax

PaintWeights( [InputObj], Indices, Weights, [Flags], [Deformer] )

Parameters

Parameter

Type

Description

InputObj

String

The weight property to paint on, or the Weight Paint Operator.

Default Value: Current selection

Indices

XSICollection

Array of indices of the weight values to modify.

Weights

XSICollection

The new value for each index (or a single value for all).

Flags

Integer

Paint flag.

Default Value: 0

Possible Values:

0: Add to existing painted value.

1: Replace value.

Deformer

Integer

Number of the deformer, if it is an envelope weight map

Default Value: 0

Return Value

Returns the painter Operator.

See Also

CreateWeightMap

ClusterProperty



Autodesk Softimage v7.5