Notifications
Clear all

[Closed] Simple attach multiple objects

Hi all,

I’m stuck on something that seems so basic…

I basically want to select some objects and then attach them together. I have looked around for examples and have come up with this.

I have 3 editable polys, cy, cy1, cy2. I am trying to attach them all to cy. (hopefully mat ids will stay the same)

My code is below, what am I missing?


select $cy1
select $cy2

for i in collection do
(

polyop.attach $cy i
	
)
2 Replies

Read this post: It teachs you all you need, with a general and fast function.

http://forums.cgsociety.org/showthread.php?f=98&t=922140&highlight=clusterattach

Prefect, that helped!

Thanks