In scene present $box01, in maxscript I have string a="box01" .
Can I select object $box01 in scene use string like
"select a as object" ????
Forum topic · General Scripting
Select object by name
By andrej · 2013-01-26
Forum topic · General Scripting
By andrej · 2013-01-26
In scene present $box01, in maxscript I have string a="box01" .
Can I select object $box01 in scene use string like
"select a as object" ????
Comments (3)
Comment policy
Big Thanks
This is just what I needed for a script I'm working on that handles UDK Collision, thank you! And yes
is certainly the fastest way to do it.
Cheers!
If your variable "a" refer to the object itself:
But if "a" is just the name as string then:
And there no "as object" conversion ;)
Yes. Just use getNodeByName function
b1 = getNodeByName "Box001"