This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at 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.

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

Q&A Using Flexsim and building models

Old 11-11-2014
Graca Silva
Posts: n/a
Downloads: 11
Uploads: 0
Question Go to coordinates?

I'm sorry that this is problably such a simple question but, I cannot find it in the manual or the forum and it is bugging me, how do I get to a location if I have the coordinates? I know you can save views but this is not always what I want.

For example, I have made a setloc on an object but then the object disappeared, I zoomed out and I saw where it went but sometimes this is not enough, isn't there a way to jump to coordinates if you know them?
Old 11-11-2014
mark.gormley mark.gormley is offline
Flexsim User
Join Date: Oct 2008
Posts: 58
Downloads: 12
Uploads: 0
Thanks: 32
Thanked 63 Times in 29 Posts
Rep Power: 181
mark.gormley has a spectacular aura aboutmark.gormley has a spectacular aura about

this isn't an exact answer to your question, it is possible to do what you are asking (through code), but this may be more what you are looking for:

From the view menu you can open up the Find Objects panel. In there you can search or filter to find the relevant object then press "Center in View" to focus the 3D window on it.
This also has a similar effect when looking at the model tree
The Following 4 Users Say Thank You to mark.gormley For This Useful Post:
Phil BoBo (11-11-2014)
Old 11-11-2014
michaelsmith michaelsmith is offline
TMN Simulation -Australia
Join Date: Aug 2007
Location: Hobart Tasmania
Posts: 62
Downloads: 7
Uploads: 0
Thanks: 31
Thanked 19 Times in 12 Posts
Rep Power: 170
michaelsmith will become famous soon enough

The Set Camera Direction command will let you designate the view (sv()) and then tell the camera/view where to point if you still need to jump around.

setcameradirection (obj view, num x, num y, num z, num rx, num ry, num rz)
Sets the viewpoint direction of the 3D view
Set the viewpoint direction of an orthographic or perspective view. (x,y,z) is the location of the focus point of the camera. (rx, ry, rz) is the rotation of the camera. The associated view attribute names are: viewpointx, viewpointy, viewpointradius, viewpointrx, viewpointry, viewpointrz respectively.
setcameradirection(sv(), 0, 0, 0, -40, 0, 25);
The Following 2 Users Say Thank You to michaelsmith For This Useful Post:
sagar bolisetti (11-11-2014)
Old 11-12-2014
Graca Silva
Posts: n/a
Downloads: 11
Uploads: 0

Thanks mark.gormley and michaelsmith, I realized I have some trouble reading the axis in the model and was actually looking more for a point where small flowitems were being "disappeared into" so this setcameradirection should be what I need.

coordinates, location

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.