View Full Version : Lscript or Plugin Request
06-28-2003, 12:04 PM
Whenever I rig something, there`s one thing that I really want to do.
I want to make the current objects`s position to be the Pivot point and make current positioin value to 0,0,0.
I mean i want to make record current object`s rest position.
I think this might be easy for Lscript writers.
Someone make me this Lscript plz~:thumbsup:
06-29-2003, 05:37 AM
I mean I want freeze transform in Maya
06-29-2003, 06:31 AM
You'll have to reload it, but it'll do the job. :) (great for other things too!)
06-29-2003, 11:44 AM
Actually I want to do it to Nulls.
At once!! :D
06-29-2003, 09:39 PM
06-30-2003, 02:59 PM
freeze transform in maya will snap the pivot point to 0,0,0, am i wrong?
06-30-2003, 03:26 PM
In lightwave under the Items menu choose Pivot>>Record Pivot rotation. Is that what you mean?
06-30-2003, 10:57 PM
The following code snippet should do what you need:
scene = Scene();
obj = scene.firstSelect();
if (obj.genus == 1)
...just save it as a regular text file with .ls extension and off you go. One problem thopuh - it doesn't work with rotated objects...
01-15-2006, 12:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.