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
|
|||
|
|||
Save model via code
Hey guys,
is there a possibility to save the model via code. Something like the "cmdsaveas" command, but i want to save the current model without getting a save dialog. Thanks in advance! |
#2
|
||||
|
||||
You can take a look how flexsim does things by going into the tree. If you go to the view tree: VIEW:/rootmenu/replace/&File and look at the save and saveas options you will see that you can use:
applicationcommand("save") and applicationcommand(""savemodelas") And those functions can be found under: VIEW:/nodefunctions/menucommands/File Goodluck |
The Following 3 Users Say Thank You to Steven Hamoen For This Useful Post: | ||
Simon Moosbrugger (05-26-2014) |
#4
|
||||
|
||||
A useful thread here
http://www.flexsim.com/community/for...read.php?t=824 |
The Following 2 Users Say Thank You to sagar bolisetti For This Useful Post: | ||
Steven Hamoen (06-02-2014) |
Tags |
cmdsaveas, model, save |
Thread | Thread Starter | Forum | Replies | Last Post |
can not save model ,use Flexsim 5.04 | LINWEIXU | Q&A | 6 | 09-27-2013 01:25 AM |
Is it possible to save a model in steady state? | mearjun | Q&A | 9 | 01-01-2013 11:03 PM |
Save and Restore Tabs in Code Editor | AlanZhang | User Development | 1 | 08-04-2012 04:31 PM |
Cannot save a model as an XML file | Vadim Fooks | Q&A | 1 | 05-10-2012 06:17 PM |
update flexsim 5.10,can not save model | LINWEIXU | Q&A | 5 | 01-31-2011 07:11 AM |