How would i find the CLASS of a selected object
How would i find the PARENT CLASS of a selected object
And how would i Apply a class-specific action to all valid objects in a scene.
If you can answer any it would be a great help
Also what is a class specific action
Thanks?
Comments
you need to print the value
you need to print the value that "classof selection[1].parent" returns like
Never get low & slow & out of ideas
And you need to start to read mxs help even more ;)
Try now
bga
--CLASS of a selected
for more info read this topic http://docs.autodesk.com/3DSMAX/15/ENU/MAXScript-Help/index.html?url=fil...
bga
Im not getting back any
Im not getting back any feedback within the listenr am i meant too?
This is part of my code:
)
button classbutton "Find Class Of Selected Object"
on classbutton pressed do
classof selection[1]
button classparentbutton "Find Parent Class Of Selected Object"
on classparentbutton pressed do
classof selection[1].parent
)
createDialog test_button 500 500