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
|
|||
|
|||
view far
When I put one value in the view far attribute (in standar view perspective) and I save and close the model, when I open it again, this value hasn't been saved.
How can I do to save this value for each time that I open the model? Thanks. |
#2
|
|||
|
|||
Go to the OnOpen node in the same tree branch you are already in.
Adding Code:
set(viewfar(c),4000); // You can check if it's working when you go to the VIEW:/active/perspective path and double check the value of your node there. |
The Following User Says Thank You to Jens Mühlheimer For This Useful Post: | ||
juan alberto (02-28-2011) |
#3
|
||||
|
||||
If you change things in the VIEW: tree, then those changes will be reset when you close and reopen Flexsim.
To save the view settings in the model, use the right click menu option View Settings > Save Settings as Default. Then whenever you click the 3D button at the top with that model open, it will open the window settings you set as default. Attached is a screenshot showing this menu option. |
The Following 3 Users Say Thank You to Phil BoBo For This Useful Post: | ||
Sebastian Hemmann (02-28-2011) |
Thread | Thread Starter | Forum | Replies | Last Post |
Button in model view | Nico Zahn | Q&A | 8 | 04-02-2009 12:21 PM |
Keeping the Ortho View Window in the background? | Nico Zahn | Q&A | 4 | 03-10-2009 10:16 AM |
New Ortho View | Brandon Peterson | User Development | 4 | 06-05-2008 08:13 AM |
New view setting | KelvinHo | Q&A | 2 | 05-29-2008 01:44 AM |
Get view reference | AlanZhang | Q&A | 3 | 03-13-2008 08:51 AM |