ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 05-22-2014
Simon Moosbrugger Simon Moosbrugger is offline
Flexsim User
 
Join Date: Mar 2014
Posts: 4
Downloads: 3
Uploads: 0
Thanks: 2
Thanked 5 Times in 1 Post
Rep Power: 0
Simon Moosbrugger is on a distinguished road
Default 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  
Old 05-23-2014
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

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)
  #3  
Old 06-01-2014
David Chan David Chan is offline
Flexsim Distributor
 
Join Date: Sep 2007
Posts: 326
Downloads: 74
Uploads: 0
Thanks: 217
Thanked 73 Times in 44 Posts
Rep Power: 218
David Chan has a spectacular aura aboutDavid Chan has a spectacular aura aboutDavid Chan has a spectacular aura about
Default

Steven,

How about the Load into Node? where can I locate them?

Thanks
__________________
Advent2 Labs
David
  #4  
Old 06-01-2014
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

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


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.