Help a Noob v0.02? " Attaching Multiple Objects"
Hi,
Okay, since I received such a quick and accurate reply to my last post.
I will not hesitate on this one, although I did spend about an hour trying to figure it out for myself.
I have 01-39 separate mesh parts (same as last post) that make up a character's body.
I want to select mesh03 and attach list all the rest except for meshes 02, 08, and 26.
I can attach one mesh to another like this:
$mesh03.attach $mesh39 $mesh03
But I cannot figure out how to attach all the meshes to one, while omitting 3 of them.
Thanks for any help on this.
Comments
No. But why you want to use
No. But why you want to use this code and not the codes proposed by me and barigazy? If this code is faster than the others, but you have to reset XFOrm, then the code will become too slow, copmared to others.I added your scene with 300 objects in max9 and executed the code from your last post and it works fine. Which version of 3ds max did you use?
www.buylortabonline.net
www.buyroxycodoneonline.com
The property that changes the
The property that changes the script is the wirecolor. The problem is that I want to use suitable material instead vray color just wire for both types of seats. Examcollection 200-101 VCE what is more the material for each of the types of seats would generally multi / sub to allow the plastic parts and metal seat.
smilie i think you might have
smilie i think you might have confused threads here ;)
toonhound, if your attaching takes to long take a look at: http://forums.cgsociety.org/showthread.php?f=98&t=922140
Raphael Steves
The property that your script
The property that your script changes is the wirecolor. The problem is that I want to use proper vray material rather just wirecolor for both types of seats. what's more the material for each of the types of seats would usually be multi/sub to allow for the plastic and metal parts of the seat. How difficult is it to rewrite the script with this in mind? Is it possible at all?
Pass4sure/Testking/ccsp exam/mcp
You need to collect to array
You need to collect to array whanted objects. There is many ways to do that. The easy one will be just to select them and... be sure your $mesh03 is not selected 'cause you'll attach to it, and finally 'cause the function expect single node (not array of objects), you'll need to make FOR loop like:
for obj in selection do attach $mesh03 obj
my recent MAXScripts RSS (archive here)
Anubis, The second time you
Anubis,
The second time you helped me in a very efficient way.
You're Knowledge of maxscript is great, I very much appreciate it.
I hope to be able to learn a lot more and maybe help out someone like myself in this way.
Thanks Again!
what would the command be if
what would the command be if you were attaching editable polys and not meshes as i get a:
-- Runtime error: Mesh operation on non-mesh: Editable Poly
When I tried to use this.
Gah...i hate being a newb :(