vertex scaling

I'm trying to scale a selection of vertices on two axes only using

scale $.selectedVerts [1.12935,1.12935,1]

It's what's the scriptlistener is spewing out
It doesn't seem to work in either local or world space. I've also tried with the object referenced as well:

scale $ship.selectedVerts [1.12935,1.12935,1]

So what's wrong with this picture?
Cheers,

Comments

Comment viewing options

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

scale verts?

realy have no idea how you record this "scale $.selectedVerts [1.12935,1.12935,1]" with MacroRecorder...

-- this should works
vSel = $.selectedVerts
in coordsys local for v in vSel do
    v.pos *= [1.12935,1.12935,1]

my recent MAXScripts RSS (archive here)

ghoulfool's picture

Anubis, After collapsing the

Anubis,
After collapsing the mesh the scale script works a treat. Thank you kindly.

Comment viewing options

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