@Gabriel illescas Cavazos Could you be a little more specific with what you're trying to model?
Example: I have around 100 delays per stations and I need simulate with process flow I have the task and times per model that information a I set in a global table and a I use the values that I upload in the global table but I need to use process flow the form that I use to simulate is use a delay for represent task by task but I want to overwrite the word Delay(Default Name) for Task 1, and the Task 2 and Etc How can I avoid the copy-paste
It depends on how your model functions, but you shouldn't need to use 100 delay activities for the same part of a process. As a general solution based on how you've explained it, you could execute a for loop to add the delay times for each of the tasks from your global table, then set that as your delay time.
If you do have, say, 5 delay activities and want to change their names incrementally you could do something like this:
var processFlow = "Tools/ProcessFlow/ProcessFlow/Delay"; var numberOfActivities = 5; for(int i = numberOfActivities; i > 0; i--) { var currentActivity = concat(processFlow, "~", numtostring(i)); var activityName = concat("Name", numtostring(i)); setname(model().find(currentActivity), activityName); }
10 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