Notifications
Clear all
[Closed] Move Soft selection via Maxscript
Aug 10, 2015 10:00 am
Hi all,
I am trying to move some verts with soft selection on via maxscript however, when moving it seems to ignore the soft selection? What am I missing here?
Any help appreciated!
subobjectlevel = 1
$.usesoftselection=on
$.falloff=50
$.selectedverts = #{10..25}
polyop.movevert $ #{10..25} [0,0,10] useSoftSel:true
2 Replies
Aug 10, 2015 10:00 am
The useSoftSel works, but you have to pass as bitarray all vertices that is affected by the soft selection.
Do the following:
- create a plane 100×100 units, 10×10 length/width segments
- convert it to an editable poly object
- select one or more vertrices and apply softselection, but be sure that all vertices are affected by the soft selection.
- execute this:
(
polyop.moveVert $ #{1..46} [0,0,100] useSoftSel:on
)
- the vertices with indexes from 1 to 46 will be moved. If some of those vertices are not affected by the soft selection they will not be moved.