josephwatson
2004-11-10, 01:32 PM
Hello,
I am writing an application for setting points along an alignment in LDT. To visually mark the current station, I draw a cross-section line at the station. I want to be able to check if this line is off the screen and if it is zoom center to the line. So I need to be able to get the current window coordinates and compare to the line bounding box. How does one do this? I can't find where it is.
Also, when I zoom to the object I don't want to change the screen zoom factor. So I need to be able to pull the zoom factor from the current screen.
Thanks much
I am writing an application for setting points along an alignment in LDT. To visually mark the current station, I draw a cross-section line at the station. I want to be able to check if this line is off the screen and if it is zoom center to the line. So I need to be able to get the current window coordinates and compare to the line bounding box. How does one do this? I can't find where it is.
Also, when I zoom to the object I don't want to change the screen zoom factor. So I need to be able to pull the zoom factor from the current screen.
Thanks much