If you take look at my first script, there is a line that triggers solving Assembly3:
Code: Select all
Gui.runCommand('asm3CmdSolve',0)
If you take look at my first script, there is a line that triggers solving Assembly3:
Code: Select all
Gui.runCommand('asm3CmdSolve',0)
It's getting late and I am tired
The macro only animates the properties, which also can include spreadsheet aliases and named sketcher constraints. It knows nothing of "solve constraints". Is this an assembly4 command? If so, perhaps it could be added to the macro code, along with a boolean property, such as "SolveConstraints" that would, if true, tell the macro to run that code each step through the loop. Let me know if you edit the code so I can consider adding it to master so other users can also benefit.bambuko wrote: ↑Sat Dec 04, 2021 6:22 pmThank you,
I animate my assemblies by changing placement angle of one single part/body along selected axis (the rest of the assembly is constrained to this particular part/body) .
How would it handle the "solve constraints" command needed after every single step in my assembly?
I will try your macro on one of my test models.
It is Assembly 3.TheMarkster wrote: ↑Sat Dec 04, 2021 7:09 pm It knows nothing of "solve constraints". Is this an assembly4 command? If so, perhaps it could be added to the macro code, along with a boolean property, such as "SolveConstraints" that would, if true, tell the macro to run that code each step through the loop...
Code: Select all
Gui.runCommand('asm3CmdSolve',0)
Thank you!TheMarkster wrote: ↑Sun Dec 05, 2021 2:34 am Okay, thanks. I updated the macro (version 0.2021.12.04)...