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
|
|||
|
|||
Creating fsm-Files
Hello.
Is there a possibility to create models automatically with something like a script? Or alternatively to create fsm-Files without FlexSim? Thanks Ralf Sprenger |
#2
|
||||
|
||||
Creating models automatically is easy:
1. Gather and format raw data into database tables. 2. Import formated tables into Global Tables 3. Execute custom flexscript to createinstances of the classes 4. Execute script to make connections, populate variable, set locations and set rotations objects 5. Execute script to run the model and record the data. Writing the script to create objects, move them around, rotate them, assign attributes and variables to them, make proper connection between them, and even run the model. Keep in mind that Flexsim allows you to execute commands dynamically that will do anything that a person operating a mouse and keyboard can do. Last edited by Cliff King; 10-11-2007 at 09:54 PM. |
The Following 2 Users Say Thank You to Cliff King For This Useful Post: | ||
Scott Mackay (10-08-2009) |
#3
|
||||
|
||||
Regarding the generation of a model file, are you aware that you can save/open fsm files in XML as well as the default binary format? There are options in the main File menu of Flexsim for saving/opening XML files. Once you familarize yourself with the XML format for Flexsim model files, you could theoretically generate your own model files with an external software program as you suggested.
|
The Following User Says Thank You to Cliff King For This Useful Post: | ||
Scott Mackay (10-08-2009) |