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
|
|||
|
|||
rail api
Hi everybody
I am using the rail api. well, apart from those difficulties to understanding functions like: getrailedgedist(num edge) Description: Returns the total distance of the edge. Example: getrailedgedist(2); or understanding why a createrailsequence is not a sequence of rails but actually a sequence of cars, or a function description such as: createrailpath: Creates a rail path. Use the return value of this command as the second parameter of the ... I have got other difficulties. When I run the simulation, I have no idea where my train is. therefore, I do not know the first parameter of the following function: createrailpath(startedge, 0, exportyardedge, trainlength + 2); what would be a solution to this? how shall I call a train to come to the place I need? |
#2
|
||||
|
||||
Read the thread:
http://www.flexsim.com/community/for...read.php?t=394 Anthony provides some examples and command list and description. Linwei Xu also provides some examples. These are good for understands rail api commands. |
#3
|
|||
|
|||
thanks anyway as general comment.
But still my question was something like how to call a train to arrive at certain location without knowing where it is actually. |
Thread | Thread Starter | Forum | Replies | Last Post |
Rail API | Anthony Johnson | Q&A | 25 | 02-20-2014 09:01 AM |
rail API | Shahin Gelareh | Q&A | 6 | 05-14-2012 10:00 PM |
Rail Planner Documentation | Jamie Santa Ana | Container Terminal (CT) Library | 1 | 02-16-2012 03:02 PM |
Rail Model | BertrandRey | Q&A | 1 | 11-02-2010 03:25 AM |
How to use rail planner | zhang xin | Container Terminal (CT) Library | 0 | 09-09-2009 10:40 PM |