how to scale the selected vertices of the spline using the script?

Hello everyone.

how to scale the selected vertices of the spline using the script?

Expression

ddd = getKnotSelection $ 1
for i in ddd do
(
Scale setKnotSelection $ 1 i [0.99,0.99,0.99]
updateShape $
)

not performed....

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

.

You have to calculate the new position of the knots and then to move the knots to these new positions.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.