Looking for scripted that will output the Positional and rotational xyz

Hello,
I am looking for a script or plugin that will allow me to select an object\group in 3dsmax 2011 and then it will store it's XYZ and its rotational XYZ info into memory so i can paste it to an exsisting txt file or even create a txt file with this information.

example output:
Postion 0.1542 6.541 45.124
Rotational position: 14.325 45.4546 7.654

Thank you

Comments

Comment viewing options

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

I want to learn high quality

I want to learn high quality 3D tutorials as well as how to locate the script. I've been searching all over the web but I cannot find the exact details. I'm sure I will gain more knowledge from this site. zuo modern dining chairs

jos's picture

creates a Output.txt at the

creates a Output.txt at the location of the script.

Object Box001
Position 139.717 375.271 -281.077
Rotation -180.0 -90.0 0.0

Object Box002
Position -104.226 380.784 -596.942
Rotation 0.0 0.0 0.0
...
script in attachment

AttachmentSize
outputposrot.ms 753 bytes
andyharding's picture

This script is almost exactly

This script is almost exactly what i am looking for, just a few things:

1) If I make a object(cyclinder) rotate it, max displays the 0 0 90 but its output as 0 0 -90 seems like all the positions that are outputed are negitive to what max says it is.

2) If I rotate a cyclinder on 3 axis like the following 41.1557 18.1529 25.7615, I get this in the output -34.4473 -29.821 -9.45916

3) The way I been running this script is dragging the outputposrot.ms to the active viewport of the selected item, is there a way that i can find this script so i can add it to a customized tool bar?

The positionig values seem to work perfectly.

jos's picture

I see..

sorry something weird with the rotations. solved now
Just open the script with 'open script', then change the directory path where you want to save the txt file. run it. you now have a button!
you can find the script under Customise user interface->toolbar->Custom

AttachmentSize
outputposrot.ms 1.11 KB
andyharding's picture

Thank you Jos, its exactly

Thank you Jos, its exactly what i was looking for

jos's picture

btw, you can just select all

btw, you can just select all your objects and press the button. then you'll have a list in the text file. (in case you didn't know)

Comment viewing options

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