[Closed] access weight from meshsmooth modifier
Hello…
I am trying to set the weight for each vertex in a MeshSmooth Modifier. This is what maxscript help says:
The edge and vertex weight properties are not accessible to MAXScript.
so, my question would be, is there by any chance a way to affect indirectly the weight of the vertex???
thanks…
ok, i think i was too fast posting this. i am able to control the weight thought max script with this one:
[left]polyop.setNumVDataChannels <Poly poly> keep:<boolean=true>
[/left]
[left]Sets the number of vertex data channels available. The number of vertex data channels can be set from 0 to 100.
[/left]
[left]If <keep> is false, the old channel data is discarded. If true, the old channel data is retained after the resize. The first ten channels for Discreet’s use only.
[/left]
[left]channel 1: Soft Selection
[/left]
[left]channel 2: Vertex weights (for NURMS MeshSmooth)
[/left]
[left]channel 3: Vertex Alpha values
[/left]
[left]channel 4: Cornering values for subdivision use
[/left]
[left][…]
[/left]
[left]polyop.setVDataValue <Poly poly> <int vdChannel> <vertlist> <float> [/left]
[left]Sets the floating point data value associated with the specified vertices in vertex data channel <vdChannel>.
[/left]
it works only with polys, but it is just fine for what i wanted…