question

Tim Duket avatar image
0 Likes"
Tim Duket asked Sam Stubbs edited

FlexScript not Updating

Occasionally while adjusting a model I am finding that updates to my code don't take effect.

I'm currently working on a kinematic model, and at times I will make changes to the movement code, apply, reset, & run, but don't see the changes take effect. I have tested by commenting out entire kinematic commands, but the motion still takes place.

All of my FlexScript is in triggers on processors and queues.

I have tried saving, restarting FlexSim, saving as a new version, etc.

The error doesn't always happen, but once it starts happening I can never get it fixed. I usually give up and come back to it later and it often works. There must be some setting or configuration I am messing up but I don't know how to troubleshoot for it.

Has anyone experienced this before? Any troubleshooting advice? Thanks.

FlexSim 7.7.4
flexscriptkinematics
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Tim Duket avatar image
0 Likes"
Tim Duket answered Sam Stubbs edited

Thanks for the responses. After playing around with it a little more it seems to be caused by how I am using initkinematics and updatekinematics. I'm not sure how my misuse of these commands is causing the issue I posted about, but if I adjust where I place them in the code then it changes whether the issue occurs or not.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.