question

sachin tandulkar avatar image
0 Likes"
sachin tandulkar asked sachin tandulkar commented

Global Cycle time Script

Looks like nothing is straight forward in FlexSim. :) My next question is, can I have a global cycletime script which I can call in each processor so that I don't have to copy paste the same code in each processor object.

Choose One
flexscript
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

Ralf Gruber avatar image
4 Likes"
Ralf Gruber answered sachin tandulkar commented

Sachin,

you can create a user command globally in the Tool Box with the code you want executed for the cycle time function. Just call that command from the field on each processor and pass variables you need in the user command to calculate the cycle time.

You can use the "Edit selected objects" GUI from the main menu item "View" to copy and paste from one object to multiple objects at once, so you do not need to do it for every single object.

Both methods are described very well in the user manual...very straight forward ;)

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

sachin tandulkar avatar image sachin tandulkar commented ·

Thanks Ralf

0 Likes 0 ·