creating an array
06-Apr-95 08:58:04
Sb: #163152-creating an array
Fm: Martin Doudoroff/KUB 74664,2144
To: Tim c Branan 76360,540
Tim–
>> I just got the script extensions yesterday <<
Great! I hope you enjoy the product!
>> 1) Is there a way to select an object and create a specific number of
copies (like create/array does) <<
Absolutely. If you're looking for a specific function which does this per se,
you won't find it, but a combination of functions and a loop or two should work
fine. I'll write up a little run-down on the process and post it here shortly.
(Caveat: some oddness has been reported regarding TSE's ability to read the
vertex list in the Keyframer, so the solution may be a little more elaborate
than one would prefer.) For my better understanding, what exactly do you want
to do (that the Snapshot feature doesn't do or is inadequate for)?
>> 2) Is it real difficult to create a menu that would allow me to select
objects by wild card and tag them? I have a script that uses the PickObjects
menu, but this is only useful for picking all objects or a few dozen. Is
something like this around somewhere I can grab it from? I cringe at the
thought of doing it myself. <<
No it isn't difficult, but you cannot rely on the canned object selectors
(ChooseNode or PickObjects) for the task. I think there's a more sophisticated
object selector which someone wrote that is floating around here… I'll see if
I can dig it up. (Such an object selector is a perfect example of "reusable
code" which could be dropped into any script as needed.)
Martin