Notifications
Clear all

[Closed] can't attach 2 editablepoly

hello guys!!

I’m trying to attach multiple editable poly to each other but it seems not to work.
I have 5 spheres that I convert to an editable poly ConvertTo mySphere[i] Editable_Poly in a loop and now I am trying to get those spheres attach to make one unique editable poly but it doesn’t work at all…

for i in 2 to $.count do
(
	$mySphere[1].attach $mySphere[i] $mySphere[1]
)

It only works if i dont use a loop… Once I use a for loop one of my sphere just disappears

Can you guys help me out with this?
thank you!!

3 Replies

Read “fast attach” thread

Hello gazybara! Thanks for answering that was what i was looking for!

I have one last little problem that I’m sure you can help me out
It’s simple: I can’t use $.count when I make a new script. It works in the maxscript listener but not when i’m working with a “new script”. The error is:

>> MAXScript Rollout Handler Exception:
– No ““get”” function for undefined <<

: /

use

selection.count

instead.