I recently noticed that buildall() command cannot be called in reset trigger. I am using 17.1.1 engine. I guess we have the problem since 17.0 engine. In some of my old models, I was trying to overwrite some trigger scripts in model reset trigger, that is why I need to call buildall() command after script updating.
The problem can be duplicated by two ways:
1. Create a brand new model. Open model on reset trigger. Write code buildall() and click apply. Then hit reset. FlexSim will try to compile the model even there is no any C code in the model. See attached image.
2. Create a brand new model. Drag a random object. Open object's on reset trigger. Write code buildall() and click apply. Then hit reset. You can obverse the same problem.
Could you provide suggestions of fixing this problem?
Thanks, Hao