Notifications
Clear all
[Closed] how to read object name and position in scene
Sep 21, 2010 2:07 pm
Sorry Im an absolute beginner at this but I want to create a rollout script that, at the press of a button can read the selected object/model(s) name(s) and position(s) in scene and write it to the maxscript listener
ie…
Myobject, 5.00, 5.00, 5.00
I know how to create a rollout and a button but thats all atm.
can anyone help me out please? as I trying to get my head around this but need some relevant-to-me examples to start from
thanks
1 Reply
Sep 21, 2010 2:07 pm
rollout myRol "PrintPos"
(
button btnPress "Print Position"
on btnPress pressed do
(
for o in selection do format "%->%
" o.name o.pos
)
)
createDialog myRol
Something like that?
-Johan