image1.pngHi, I wanted to know the similar Code Snippet command "ts.first.destroy ()" (destroy the first activity for the Transporter) running for Flexsim 2016 version 16.0.1. Thank you!
image1.pngHi, I wanted to know the similar Code Snippet command "ts.first.destroy ()" (destroy the first activity for the Transporter) running for Flexsim 2016 version 16.0.1. Thank you!
To answer your original question, you can do something like this (which will do the same thing that Karuppasamy Pitchai's code does):
destroyobject(first(ts));
However, it sounds like you are wanting to change how the Transporter is handling its offset travel as part of the unload task. If you would like more help on how to make these changes, please post a new question.
You can change the tasktype of a Tasksequence instead of deleting the task. The tasktype tag hasn't got any influence on the taskexecuter.
changetask(ts,1,TASKTYPE_TAG);
Hi Vincenzo,
Try this "destroyobject(rank(ts,1))".
Regards
Karuppasamy
8 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved