|
Hi Steve,
I’ve been browsing trying to work out a script and came across this thread.
I’d also like to select all objects in a scene begining with the same characters but I’d like to loop this and extract the chacters from an array.
ie My array has ( obj,def,asd)
In my loop I’d like to select all obj and process, followed by all def and then all asd.
So something like.
for i in objlist do
(
selobj = objlist
select $*selobj*
blah blah.
)
The select seems to pick up my variable as a literal though. I’ve tried as name and as string but it never seems to pick it up.
Is it just a syntax issue I’m having? As you have probably guessed already, I’m not very good at scripting and am trying to learn (albeit slowly) but struggle more with the syntax than the overall structure of what I am doing.
Any help would be greatly appreciated.
Regards
Tim
Author: El-d
|