Dear all,
I am working with Microstation v8i(SS3) with vba. I need to get the longitude and latitude from the xy coordinates.(I have Geographic Coordinate System).any one give me the reference.
Thanks & Regards,
Karthik M
VBA example code is provided in the Help file.
Open the VBA Help “MicroStationVBA.chm” and search for “Longtitude” to find an example “Using the GeographicCoordinateSystem Class”.
Regards,
Leonard Jones.
Dear Jones, Thanks for your response and its showing the Geographic Coordinate System Name,Minimum Latitude,maximum Latitude etc.... but how to get the latitude and Longtitude of the mouse point position (EX: My mouse point position xy coordinates is X=440877.3665 and Y=362090.5879 ). Thanks & Regards, Karthik M
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Unknown said:Actually in my MicroStationVBA.chm not showing the details of GeographicCoordinateSystem methods
In such case you probably use incorrect chm file version, maybe installed with some older MicroStation? By VBA documentation GCS class was added to MicroStation VBA API in 08.11.09, so any MicroStation V8i version should have GCS available. I am sure in V8i (SELECTseries 3) GCS class is available.
And what about Object Browser, is GeographicCoordinateSystem class available there?
With regards,
Jan