Notifications
Clear all

[Closed] Help in MaxScript – Attach Multi Command

Hi everybody !
I’ve a scene with lot’s of same elements(EditMesh) which i would like to attach together. The most efficient and fastest way is “Attach Multi”. I’ve tried to look up in the MaxScript Help but i didn’t find anything… Does anyone knows the command ?

Thank’s in advance,
Steiner.

2 Replies

Make a collection of objects to attach and then loop through the attach command.

---------------------------------
---------------------------------
-- quick and dirty mesh attach
--   to make this work with poly just
--   swap polyop in for meshop
---------------------------------
---------------------------------
j = targetMesh
for i in collection do
(
	meshop.attach j i
)

good luck

Hi ,
I’ve tried what you wrote but i still think that i’ve a syntax problem and it doesn’t work.
Here is a description of the elements i’m trying to attach each other :

–>Wall 200mm generic –this is the Block
–>Wall 200mm generic –this is the edit mesh which is linked to the block
–>Wall 200mm generic
–>Wall 200mm generic
–>Wall 200mm generic
–>Wall 200mm generic
–>Wall 200mm generic
–>Wall 200mm generic

And so on and on…
Can you write me please the specific lines ?(for attaching all the walls into one )

Thanks in advance !