question

Chaoqing X avatar image
0 Likes"
Chaoqing X asked Jacob Gillespie answered

under socket,the 3D animation of flexsim model is discontinuous

I want the flexsim model interact information with the Algorithmic Model which is coded in pathon.

The flexsim model as a client connect to Algorithmic Model which is as a server. The process is that the model send a request to Algorithmic Model and freeze the model , then the Algorithmic Model cacculate the result which will take some seconds. Last the Algorithmic Model send the result back to flexsim model and the model unfreeze.

The problem is that when the model have received the result, the model is unfreezed , but the 3D animation of flexsim model is discontinuous and the run time jumps. the freeze do not affect the simulation result, and but affect the 3D animation. is that right? And how to solve the problem?flexsim-is-client-client-02-english.fsm

FlexSim 18.2.3
socket3d animation discontinuous
· 5
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

Jacob Gillespie avatar image
0 Likes"
Jacob Gillespie answered

@Chaoqing X

What do you mean it does not work? Have you tested the windowgray() code to see if it is actually disabling interaction with view?

I tested using windowgray() on the MainPanel from the Script Console and it stops responding to mouse inputs.

I don't think there is any other way of disabling the mouse. Maybe you could open a window to cover the 3D view and then remove it after the clientreceive()?

I'm not able to open your attached model to see what you are doing.

5 |100000

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