selecing camera target

how can i select a camera (vray camera) target through maxscript?

lets say i have a vray cam selected, and want to select the target with a push of a button, how would the code look like?

thanks

Comments

Comment viewing options

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

nice thanks can u tell me how

nice thanks

can u tell me how i can get my macro recorder working?
it doesnt show up anything in the listener

its enabled, and also enabled in max preferences

harumscarum's picture

select and move

(
actionMan.executeAction 0 "40248"
max move
)

Comment viewing options

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