v1.0
property
Creates a weight map. Weight maps can be used to modulate parameters such as the amplitude of a deformation across an object or cluster. Weight maps can only be created on point clusters. A weight map stores a floating point value for each point of the cluster. A weight map should not be confused with the weight values that are used to deform an envelope, see Envelope.Weights.
oReturn = CreateWeightMap( PresetObj, [InputObj], [PropertyName], PropPresetObj, [Select] ); |
Returns an XSICollection of the newly created properties.
Parameter | Type | Description | ||||
---|---|---|---|---|---|---|
PresetObj | String | WeightMap operator preset
Default Value: "WeightMap"
|
||||
InputObj | String | List of point clusters or
objects or points.
Default Value: Current selection |
||||
PropertyName | String | Name of the weight map property
Default Value: "Weight Map" |
||||
PropPresetObj | Preset object | weight map property preset
Default Value: "Weight Map Property" preset |
||||
Select | Boolean | Select and autoinspect the resulting prop
Default Value: True |
dim s set s = CreatePrim ( "Sphere", "NurbsSurface" ) CreateWeightMap "WeightMap", s & ".pnt[0,1]", "MyWeightMap", "Weight Map Property" |