Re: SaveDeformKey returns the key???
Thanks Miquel for reporting the issue. This has been filed as SOFT-8212. Regards Ivan On 25 Jan, 2013, at 9:03 AM, Miquel Campos miquel.cam...@gmail.com wrote: Thank you Raffaele. I will reporte it :) Miquel Campos www.akaosaru.com 2013/1/21 Raffaele Fragapane raffsxsil...@googlemail.com StoreShapeKey is the base command used by save I think, and that should properly return the key. Bear in mind it will probably not apply it through the mixer, which if you aren't careful with the stack can become confusing. Apply it yourself, or clean after your script in those regards if you use it. Worth reporting SaveShapeKey as mis-documented AND not working as intended, since there is no valid reason for it not to return anything of use.
Re: SaveDeformKey returns the key???
Thank you Raffaele. I will reporte it :) Miquel Campos www.akaosaru.com 2013/1/21 Raffaele Fragapane raffsxsil...@googlemail.com StoreShapeKey is the base command used by save I think, and that should properly return the key. Bear in mind it will probably not apply it through the mixer, which if you aren't careful with the stack can become confusing. Apply it yourself, or clean after your script in those regards if you use it. Worth reporting SaveShapeKey as mis-documented AND not working as intended, since there is no valid reason for it not to return anything of use.
Re: SaveDeformKey returns the key???
Hi The doc is wrong. There is no return value. SaveDeformeKey is implemented by a subroutine in uixsiscripts.vbs (SaveDeformKeyProc). BUT that subroutine calls functions that do return values, so... On 17/01/2013 2:35 PM, Miquel Campos wrote: Application.CreatePrim(Cube, MeshSurface, , ) Application.SetValue(Context.ConstructionMode, 3, ) Application.SelectGeometryComponents(cube.pnt[LAST]) Application.Translate(cube.pnt[LAST], 3.30369016404418, 1.25013183350569, -0.125013183350569, siRelative, siView, siObj, siXYZ, , , , , , , , , , 3, ) Application.SelectObj(cube, , True) var = Application.SaveDeformKey() print var
Re: SaveDeformKey returns the key???
Thank you Stephen! I will check it :) 2013/1/17 Stephen Blair stephenrbl...@gmail.com uixsiscripts.vbs Miquel Campos www.akaosaru.com