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
|
|||
|
|||
Target Locking Persp and Ortho Views
This library was a response initially from Steven's question here: http://www.flexsim.com/community/for...ead.php?t=1170
I've created this thread so it's easy to find in the future. This library allows you to open new persp and ortho view that will lock onto an object using the 'T'- left-mouse-click combination ('T' for 'target'). You can then easily rotate around the object using the normal right mouse button drag. You can clear the target lock just by pressing the left mouse button in the ortho/persp view. The target object can be in a hierarchy of visual tools or other objects and can even be elevated in the z direction (as per the original request). It can also be a flowitem. The viewfocus can also be a container - it doesn't have to be the model. I've tried to limit or account for angles which caused div/0 values and might cause the logic to lock - but without full testing please be careful and save your work first and regularly. If you experience problems please post them here and I'll try and cater for or correct them. Jason |
The Following 7 Users Say Thank You to Jason Lightfoot For This Useful Post: | ||
Tom David (12-04-2009) |
Tags |
center, centre, ortho, persp, rotate, target, view |
Thread | Thread Starter | Forum | Replies | Last Post |
Keeping the Ortho View Window in the background? | Nico Zahn | Q&A | 4 | 03-10-2009 10:16 AM |
Combiner Target Quantity, Release of packed pallets | BenjaminBuecklein | Q&A | 1 | 09-04-2008 03:31 AM |
New Ortho View | Brandon Peterson | User Development | 4 | 06-05-2008 08:13 AM |
making views follow operators | Alex Christensen | Tips and Tricks | 0 | 05-23-2008 04:18 PM |
Make this GUI the Default Ortho GUI | jellyboy | Q&A | 1 | 03-13-2008 09:11 AM |