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 02-25-2011
juan alberto juan alberto is offline
Flexsim User
 
Join Date: May 2009
Location: Valencia, Spain
Posts: 74
Downloads: 14
Uploads: 0
Thanks: 19
Thanked 3 Times in 2 Posts
Rep Power: 138
juan alberto is on a distinguished road
Default 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.
Attached Thumbnails
Click image for larger version
Name:	tree viewfar.JPG
Views:	148
Size:	121.9 KB
ID:	1288  
  #2  
Old 02-25-2011
Jens Mühlheimer Jens Mühlheimer is offline
Flexsim User
 
Join Date: Jul 2008
Location: Stuttgart, Germany
Posts: 140
Downloads: 8
Uploads: 0
Thanks: 40
Thanked 35 Times in 27 Posts
Rep Power: 174
Jens Mühlheimer will become famous soon enoughJens Mühlheimer will become famous soon enough
Default

Go to the OnOpen node in the same tree branch you are already in.

Adding

Code:
set(viewfar(c),4000);
in the last line should do the trick for the new opened windows.

// 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  
Old 02-25-2011
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

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.
Attached Thumbnails
Click image for larger version
Name:	save_view_settings_as_default.jpg
Views:	135
Size:	19.8 KB
ID:	1289  
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


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.