ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Dispatcher & Operators Suggestion
As a suggestion for the next version being able to create operators from a dispatcher would be good for quickily creating variable work forces. Simply connect the dispatcher to the required objects and specify the number of operators (also the form they take Man/Truck/Other) that will be linked to it.
(Apologies if there is a simple way of doing this already!) |
#2
|
|||
|
|||
You could realize this quite easy with this custom code:
// at least the creation of your operators. You might have to customize the code to really fit your needs and then it's not so simple anymore, because you would need some checks if you have already the desired number of operators and so on. But it might be a start Code:
/**CS: Create additional operators*/ treenode current = ownerobject(c); int numitems = 1; // Number you would like for (int index = 0; index < numitems; index++) { createinstance(node("/Operator",library()),model()); objectconnect(current,last(model())); } |
The Following User Says Thank You to Jens Mühlheimer For This Useful Post: | ||
Sebastian Hemmann (02-15-2011) |
#3
|
|||
|
|||
Jens
Thanks for that one, now if we could just get that added to a button in the Dispatcher Properties Window or as a Standard Trigger. |
#4
|
|||
|
|||
Already started this here and have now used with the experimenter successfully.
|
The Following User Says Thank You to Jason Lightfoot For This Useful Post: | ||
michaelsmith (02-16-2011) |
Tags |
dispatcher, operator |
Thread | Thread Starter | Forum | Replies | Last Post |
Label in Object - Suggestion for next version | Gleny Rodriguez | Gripes and Goodies | 1 | 02-03-2011 01:06 PM |
Suggestion on next Version | Daniel Schneider | Gripes and Goodies | 3 | 11-08-2010 02:11 PM |
[Suggestion]Time bar can be used in Full Screen Mode | KelvinHo | Gripes and Goodies | 1 | 05-20-2010 03:25 AM |
[Suggestion]Minimize windows location | KelvinHo | Gripes and Goodies | 5 | 07-07-2009 10:02 AM |
[Suggestion]Suggestion on "Run speed" bar | KelvinHo | Gripes and Goodies | 1 | 05-29-2008 07:31 AM |