question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Jason Lightfoot commented

Setting speed for conveyor type?

Hi Team,

In older versions, there was option to select conveyor type speed but it is not available in newer version so what is the recommended way to do it?

1700134687818.png

I have the model from older version where speed is set for the conveyor type and it was working well. It is giving error in new version.

1700134926183.png

Thank you!

FlexSim 23.1.3
speedconveyor type
1700134687818.png (102.9 KiB)
1700134926183.png (13.1 KiB)
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Ankur A3, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ankur A3 edited

Conveyor types were removed in version 21.0, what you are looking at are visualizations. Since then each conveyor properties are defined per individual object (same for decision points, photo eyes, stations, entry and exit transfers).

If you want to update multiple objects at the same time, you can select all of them (easy to do when they are part of a group) and make the necessary changes on one of them which will be copied to other selected objects.

Or use the "Edit Selected Objects" window under "View" in the top menu bar.

· 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.

Ankur A3 avatar image Ankur A3 commented ·
Hi @Felix Möhlmann,

Thank you for the clarification!

I know how to do it manually but I am using flexscript to make it dynamic based on condition. Do I need to loop it for the same type conveyors or any better way?

Thank you!

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Ankur A3 commented ·
Yes, you will have to loop through the respective conveyors. Putting them into a group makes this easiest.

Note that changing the "Speed" property during the model run will not have any effect. It only sets the starting speed.

To change the conveyor speed during a run you have to set the "targetSpeed" property.

Object conv;
conv.as(Conveyor).targetSpeed = X;
0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Felix Möhlmann commented ·

Ok. @Felix Möhlmann

Thank you so much for your quick response!

0 Likes 0 ·

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.