Pos & Rot Type in - At the same time!
Hi, I'm often typing in values for position and rotation, and going through objects to check for skewed coordinates.
So far I can't seem to get 3ds max to show me the transforms and rotations at the same time, only by switching the tool to move or rotate.
I'd like to condense the functions in the red box in the attached picture into a neat little dialogue.
I'm sure I can figure out how to display the values: $.pos, $.rotation.x_rotation etc.
But I don't know how to update this info dynamically and I also don't know how to type in to edit these values.
Any help or tips would be greatly appreciated!
Thanks
Sean
Attachment | Size |
---|---|
coordinates.jpg | 91.69 KB |
Comments
Add a selection change handler
If you want to update the ui when select an object register a new selection eventhandler , typicaly it is added with "when" construction.
It will be something like:
When selection changed obj ( do something - refresh the ui textboxes ).
See Maxscript's reference for examples, when you close your dialog, unregister this handler.