ScriptSpot

Forum topic · General Scripting

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

By Any · 2021-04-18

Description

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 (1)

.

miauu · 2021-04-18

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