[Closed] Clone Part of Mesh MAXScript command?
Hi, I’m looking for some help writing a script. The goal is to have an user select some polygons/faces on a character’s arm or leg, and then run a script that would duplicate the arm or leg over to the other side and weld it back in. The hands and feet can not be duplicated over with the arm or leg, so the user has to select a portion of the arm to be deleted, and the select the same section on the otherside that needs to be mirrored over.
Here is the steps of the current process(task).
1.) Select polygons/faces on the Right Arm, and delete them
2.) Select same polygons/faces on the Left Arm.
[left] 3.) Move+Shift key (without moving) to get the Clone Part of Mesh and choose Clone to Object.
[/left]
4.) Press H to select Object01 from the Select Objects window.
5.) Press the Mirror button and choose X Axis and No Clone.
6.) Goto the Top-level (subobjectLevel =0), and press Attach.
7.) Select the character.
8.) Goto Vertex Mode (subobjectLevel =1), max select All to select all the vertices
9.) Weld Selected at 0.1 so that the mesh is all one object again.
- I want to start the script on Step 3, but I can't find the MAXScript command to access "Clone Part fo Mesh"
- I can't find the proper MAXScript command for the weld verts option.
check out the following in the mascript help
polyop
example
polyop.weldVerts
to weld verts
Still can’t find the “Clone Part of Mesh” command in polyop or meshop in the help docs.
Anybody know the name of the command? Seams that it may be named differently or I’m just not seeing it.
do you mean this?
$.EditablePoly.detachToElement #Face keepOriginal:on
(replace the $ with your selection)
That’s is for Poly. But I’m working with an Editable Mesh and I can’t get the command to work. When I convert back or add a modifier to the character, it flips edges and destortes the model.
I’m noticing that Edit Mesh doesn’t have alot of output in the Script Listener compared to Edit Poly.
I’ll kept looking.