question

Fiorenzo A avatar image
0 Likes"
Fiorenzo A asked Phil BoBo edited

[Version 20.2.1] NEW KINEMATICS PROCESS FLOW COMMANDS [WORK FOR FLOWITEM?]

Hi,

I want to ask you some explanations about the new kinematics process flow commands.

I try to use them to move a flowitem in 3D model but I observe that this commands work only with objects which have the On Pre Draw Trigger.


I realize this simple model:

  • Drag and drop a source, a queue and a TE;
  • Make an “A connect” between source and queue;
  • Create a process linked to the on entry in queue of an item. When the item arrived in the queue I want to move the same item and the TE in X direction for 15metres


If you run the simulation it possible to see the movement of the TE in desired direction and an error in the output console linked to the Flowitem.

It seems that Flexsim can’t move with this commands the flowitem because it hasn’t got the OnPreDraw Trigger.

It’s an issue of Flexsim or my programming mistake?


I attached the model in the e-mail.

@phil.bobo can you help me?Kinematics_ProcessFlow.fsm

FlexSim 20.2.1
flexsim 20.2.1kinematics
5 |100000

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

Phil BoBo avatar image
2 Likes"
Phil BoBo answered Phil BoBo edited

This is a bug with the Apply Kinematics activity. Right now, you cannot apply kinematics to standard flowitems.

I've fixed it for the next bugfix release so that it works properly with flowitems.

In the meantime, you would need to use the kinematics commands directly in Custom Code, or use a task executer flowitem (as tomasz suggests).

· 3
5 |100000

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

Fiorenzo A avatar image Fiorenzo A commented ·

Thank you for the support!

0 Likes 0 ·
Fiorenzo A avatar image Fiorenzo A commented ·

@phil.bobo Hi Phil, I would like to ask you another question about this process flow activity. I want to use it also with the object conveyor. I have the same problem. Is that due to the same bug ?

I kindly ask you also if is possible to answer at the other problem that i have with conveyor at link below

https://answers.flexsim.com/questions/90956/version-2021-conveyor-transfers-issues.html


thank you in advance

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Fiorenzo A commented ·

Yes, the conveyors also have the "Unable to listen to On Pre Draw" error, and my fix will work for them too.

As a workaround until the next bugfix release, for any objects where you cannot listen to their On Pre Draw event, you can put them into a visual container object and apply kinematics to the container instead.

0 Likes 0 ·
Tomasz MG avatar image
3 Likes"
Tomasz MG answered


You can create new TaskExecuter Flowitem and change it shape to a box


1600251661115.png (88.5 KiB)
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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