<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Animate edit poly modifier verts in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13721923#M29068</link>
    <description>&lt;P&gt;I don't think there is a setvert method in the edit poly modifier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jul 2025 23:59:29 GMT</pubDate>
    <dc:creator>danlane3d</dc:creator>
    <dc:date>2025-07-11T23:59:29Z</dc:date>
    <item>
      <title>Animate edit poly modifier verts</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13718895#M29065</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do animate verts in an editpoly modifier with maxscript? My current attempt doesn't set keys even if I set the modifier to animate mode and also wrap it all within an on animate context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my code so far, it matches the vert positions of one object to another but I'd like it to animate the verts:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;sourceobj = selection[1]
modifyObject = selection[2]

storedVertPositions = #()

vertCount = polyop.getNumVerts sourceobj
print vertCount

				-- Cache vertex positions in world space
				for i = 1 to vertCount do (
					pos = polyop.getVert sourceobj i
					--append storedVertPositions #(i, pos)
					append storedVertPositions pos
				)
				
				-- add epoly to modified mesh
				ePolyMod = undefined --Edit_Poly ()
				for modify in modifyObject.modifiers where modify.name == "Edit Poly" do ePolyMod =  modify
					
				
				
				
				select modifyObject
				
				max modify mode
				modPanel.setCurrentObject ePolyMod
				
				ePolyMod.enabled = true
				subobjectLevel = 1
				ePolyMod.useSoftSel = off
				ePolyMod.SetSelection #Vertex #{}
				
				
				ePolyMod.animationMode = true
				



			for i = 1 to vertCount do (	

					sourcePos = storedVertPositions[i]
				currentPos = polyop.getVert modifyObject i
				
				diffVector = sourcePos - currentPos
				
				with animate on(
					at time 100
					(
						modifyObject.modifiers[#Edit_Poly].Select #Vertex #{i}
						modifyObject.modifiers[#Edit_Poly].MoveSelection diffVector
						modifyObject.modifiers[#Edit_Poly].Commit()
						modifyObject.modifiers[#Edit_Poly].SetSelection #Vertex #{}
				)
			)
		)	&lt;/LI-CODE&gt;&lt;DIV&gt;Thanks for reading &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Jul 2025 07:34:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13718895#M29065</guid>
      <dc:creator>danlane3d</dc:creator>
      <dc:date>2025-07-10T07:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Animate edit poly modifier verts</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13719039#M29066</link>
      <description>&lt;P&gt;for&amp;nbsp;modifier&amp;nbsp;animation，&amp;nbsp;you should use slidertime instead of at time&lt;/P&gt;&lt;P&gt;and you should use setvert method instead of what you did&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 08:49:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13719039#M29066</guid>
      <dc:creator>A娘</dc:creator>
      <dc:date>2025-07-10T08:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Animate edit poly modifier verts</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13721921#M29067</link>
      <description>&lt;P&gt;Thanks, I'll give that a try.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 23:52:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13721921#M29067</guid>
      <dc:creator>danlane3d</dc:creator>
      <dc:date>2025-07-11T23:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Animate edit poly modifier verts</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13721923#M29068</link>
      <description>&lt;P&gt;I don't think there is a setvert method in the edit poly modifier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 23:59:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13721923#M29068</guid>
      <dc:creator>danlane3d</dc:creator>
      <dc:date>2025-07-11T23:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Animate edit poly modifier verts</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13722014#M29069</link>
      <description>&lt;P&gt;of course&amp;nbsp;it has , you&amp;nbsp;can't get all interfaces from&amp;nbsp;maxscript&amp;nbsp;reference , just show modifier , and you can see what methods it has&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 04:09:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13722014#M29069</guid>
      <dc:creator>A娘</dc:creator>
      <dc:date>2025-07-12T04:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Animate edit poly modifier verts</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13725034#M29071</link>
      <description>&lt;P&gt;Well of course &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tip, I'll inspect it's methods.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 04:18:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/animate-edit-poly-modifier-verts/m-p/13725034#M29071</guid>
      <dc:creator>danlane3d</dc:creator>
      <dc:date>2025-07-15T04:18:57Z</dc:date>
    </item>
  </channel>
</rss>

