Notifications
Clear all

[Closed] Maxscript equivalent for Create Keys in Cloth modifier

As the title suggests, I need to access the Create Keys button via maxscript. Is there a way to do that. I haven’t been able to find any info about it thus far (i apologize if there is something trivial I have missed)

Thanks in advance.

2 Replies

[quote=] 796989038 “Cloth” actions:41
40001 “Simulate”
40002 “Simulate Local”
40003 “Simulate Local Damped”
40004 “Object Properties”
40005 “Cloth Forces”
40006 “Erase Simulation”
40007 “Truncate Simulation”
40008 “Set Initial State”
40009 “Reset State”
40010 “Delete Object Cache”
40011 “Grab State”
40012 “Create Keys”
40013 “Add Objects”
40014 “Show Current State”
40015 “Use Gravity”
40016 “Use End Frame”
40017 “Self Collision”
40018 “Check Intersections”
40019 “Solid Collision”
40021 “Show Sewing Springs”
40022 “Make Group”
40023 “Delete Group”
40024 “Detach Constraint”
40025 “Initialize Constraint”
40026 “Change Group”
40027 “Rename Group”
40028 “Node Constraint”
40029 “Surface Constraint”
40030 “Cloth Constraint”
40031 “Preserve Constraint”
40032 “Drag Constraint”
40033 “SimNode Constraint”
40034 “Group Constraint”
40035 “NoCollide Constraint”
40036 “Forcefield Constraint”
40038 “Paste Group”
40037 “Copy Group”
40039 “Get Group”
40040 “Live Drag”
40041 “Live Rotate”
40042 “Sim on Mouse Down”
use it like this

actionMan.executeAction 796989038 "40012" --Create Keys

btw. you can find a file called list_of_actions.txt somewhere here on forum.

Thanks man, you are a life saver.