Notifications
Clear all
[Closed] select obj from variabel
Feb 15, 2005 11:33 pm
I think this is easy but I cant get it right. How can I select a object with help from string
test = “$Box01”
select test
3 Replies
2 Replies
The only way is to build a string and then to execute it like a command
test = “select $Box01”
execute test
Something like that
Read the fine manual!
This has been put into the MAXScript Frequently Asked Questions in the MAXScript Reference for a good reason
test = execute “$Box01”
select test
or
test = getNodeByName “Box01”
select test