As extra feature for IRT, that would be a killer app!by writing IRT i was trying to avoid using GE :)
Getting hard to find GE API info...
I have instaled Google Earth pro but when I put:i can't tell you how to solve your problem but in case you can not find the solution, try www.theswamp.org/index.php?topic=47908.0
_$ (vlax-get-or-create-object "GoogleEarth.ApplicationGE")
nil
_$ (vlax-create-object "GoogleEarth.ApplicationGE")
nil
_$
Anybody knows whats happend in this case???
I have instaled Google Earth pro but when I put:Maybe this can help: http://www.cruisersforum.com/forums/f121/google-earth-api-gone-144392.html
_$ (vlax-get-or-create-object "GoogleEarth.ApplicationGE")
nil
_$ (vlax-create-object "GoogleEarth.ApplicationGE")
nil
_$
Anybody knows whats happend in this case???
Thanks and sorry about my english
I have instaled Google Earth pro but when I put:It seems GE's COM files not registered in your system. Try to register it manually. Run cmd.exe with admin rights and input two commands with right paths to directories where you installed Google Earth:
_$ (vlax-get-or-create-object "GoogleEarth.ApplicationGE")
nil
_$ (vlax-create-object "GoogleEarth.ApplicationGE")
nil
_$
Anybody knows whats happend in this case???
Thanks and sorry about my english
regsvr32.exe "C:\Program Files\Google\Google Earth\client\earthps.dll"
regsvr32.exe "C:\Program Files\Google\Google Earth\client\googleearth.exe"
In Pro I do not have earthps.dll :I have instaled Google Earth pro but when I put:It seems GE's COM files not registered in your system. Try to register it manually. Run cmd.exe with admin rights and input two commands with right paths to directories where you installed Google Earth:
_$ (vlax-get-or-create-object "GoogleEarth.ApplicationGE")
nil
_$ (vlax-create-object "GoogleEarth.ApplicationGE")
nil
_$
Anybody knows whats happend in this case???
Thanks and sorry about my englishCode: [Select]regsvr32.exe "C:\Program Files\Google\Google Earth\client\earthps.dll"
regsvr32.exe "C:\Program Files\Google\Google Earth\client\googleearth.exe"
(vlax-import-type-libraryThen become available:
:tlb-filename
"C:\\Program Files\\Google\\Google Earth\\client\\google~1.exe"
:methods-prefix
"vlg-"
:properties-prefix
"vlg-"
:constants-prefix
"gec-"
)
vlg-ClearResults
vlg-Clone
vlg-ConvertToZone
vlg-currentView
vlg-get-Altitude
vlg-get-AnimationController
vlg-get-AutoPilotSpeed
vlg-get-Azimuth
vlg-get-BeginTime
vlg-get-Count
vlg-get-CurrentTimeInterval
vlg-get-currentViewExtents
vlg-get-Cycles
vlg-get-Day
vlg-get-East
vlg-get-ElevationExaggeration
vlg-get-EndTime
vlg-get-FocusPointAltitude
vlg-get-FocusPointAltitudeMode
vlg-get-FocusPointLatitude
vlg-get-FocusPointLongitude
vlg-get-HasView
vlg-get-Highlighted
vlg-get-Hour
vlg-get-Item
vlg-get-Latitude
vlg-get-Longitude
vlg-get-Minute
vlg-get-Month
vlg-get-Name
vlg-get-North
vlg-get-PauseDelay
vlg-get-ProjectedOntoGlobe
vlg-get-Range
vlg-get-SearchController
vlg-get-Second
vlg-get-SliderTimeInterval
vlg-get-South
vlg-get-speed
vlg-get-StreamingProgressPercentage
vlg-get-Tilt
vlg-get-TimeInterval
vlg-get-TimeZone
vlg-get-TourController
vlg-get-Type
vlg-get-VersionAppType
vlg-get-VersionBuild
vlg-get-VersionMajor
vlg-get-VersionMinor
vlg-get-ViewExtents
vlg-get-Visibility
vlg-get-West
vlg-get-Year
vlg-get-ZeroElevationExaggeration
vlg-GetCamera
vlg-GetChildren
vlg-getCurrentVersion
vlg-GetFeatureByHref
vlg-GetFeatureByName
vlg-GetHighlightedFeature
vlg-GetLayersDatabases
vlg-GetMainHwnd
vlg-GetMyPlaces
vlg-GetParent
vlg-GetPointOnTerrainFromScreenCoords
vlg-GetRenderHwnd
vlg-GetResults
vlg-GetTemporaryPlaces
vlg-HideDescriptionBalloons
vlg-Highlight
vlg-isClientInitialized
vlg-IsInitialized
vlg-IsOnline
vlg-IsSearchInProgress
vlg-LoadKml
vlg-LoadKmlData
vlg-Login
vlg-Logout
vlg-OpenFile
vlg-OpenKmlFile
vlg-Pause
vlg-Play
vlg-PlayOrPause
vlg-put-AutoPilotSpeed
vlg-put-Azimuth
vlg-put-CurrentTimeInterval
vlg-put-Cycles
vlg-put-Day
vlg-put-ElevationExaggeration
vlg-put-FocusPointAltitude
vlg-put-FocusPointAltitudeMode
vlg-put-FocusPointLatitude
vlg-put-FocusPointLongitude
vlg-put-Hour
vlg-put-Latitude
vlg-put-Longitude
vlg-put-Minute
vlg-put-Month
vlg-put-PauseDelay
vlg-put-Range
vlg-put-Second
vlg-put-speed
vlg-put-Tilt
vlg-put-TimeZone
vlg-put-Type
vlg-put-Visibility
vlg-put-Year
vlg-QuitApplication
vlg-SaveScreenShot
vlg-Search
vlg-SetCamera
vlg-SetCameraParams
vlg-SetFeatureView
vlg-SetRenderWindowSize
vlg-setView
vlg-setViewParams
vlg-ShowDescriptionBalloon
vlg-Stop
$ (findfile "C:\\Program Files\\Google\\Google Earth Pro\\client\\earthps.dll")
nil
_$ (findfile "C:\\Program Files\\Google\\Google Earth Pro\\client\\googleearth.exe")
"C:\\Program Files\\Google\\Google Earth Pro\\client\\googleearth.exe"
$ (vlax-import-type-library
:tlb-filename
"C:\\Program Files\\Google\\Google Earth Pro\\client\\googleearth.exe"
:methods-prefix
"vlg-"
:properties-prefix
"vlg-"
:constants-prefix
"gec-"
)
; error: tipo de argumento erróneo: VLA-OBJECT nil
Thanks a lot, but seems that google earch api is gone in new versions......me too:
Maybe this can help: http://www.cruisersforum.com/forums/f121/google-earth-api-gone-144392.html
Thanks Marco.
NICK_VNV: in that case (as Marco):Code: [Select]$ (findfile "C:\\Program Files\\Google\\Google Earth Pro\\client\\earthps.dll")
nil
_$ (findfile "C:\\Program Files\\Google\\Google Earth Pro\\client\\googleearth.exe")
"C:\\Program Files\\Google\\Google Earth Pro\\client\\googleearth.exe"
$ (vlax-import-type-library
:tlb-filename
"C:\\Program Files\\Google\\Google Earth Pro\\client\\googleearth.exe"
:methods-prefix
"vlg-"
:properties-prefix
"vlg-"
:constants-prefix
"gec-"
)
; error: tipo de argumento erróneo: VLA-OBJECT nil
Maybe uninstall the last version and install older is the solution.
Thanks everybody and sorry about my english.
I am using Google Earth Pro 7.3.1.4507 (32-bit) and everything works fine. What version do you have?I am using Google Earth Pro 7.3.1.4507 (64-bit)
I am using Google Earth Pro 7.3.1.4507 (32-bit) and everything works fine. What version do you have?I am using Google Earth Pro 7.3.1.4507 (64-bit)
My versionOfcourse
Google Earth Pro
7.3.1.4507 (64-bit)
but, can i install 32bit software in a 64bit computer?
Thanks :-)My versionOfcourse
Google Earth Pro
7.3.1.4507 (64-bit)
but, can i install 32bit software in a 64bit computer?
I have uninstalled 32bit version and installed 64 bit version. Now I have the same problem.
It seems we need to use 32bit version.
p.s.
Yep I've reverted back to 32bit and it works fine again.
Google Earth Pro:straight:
7.3.1.4507 (64-bit)
But, can i install 32bit software in a 64bit computer?
//Eg1. Autocad2014.exe version x86 and GoogleEarth.x86
//Eg2. Autocad2014,exe version x64 == GoogleEarth.x64
Other solution/s check>your WindowsRegistry with Where or how did you find about Google Earth within CAD? lol. Thats pretty neat...."Google Earth within CAD" might be a little deceptive. It's just a web page. Probably using the Javascript API!
<html>
<head>
<title>Some Title</title>
<script type="text/javascript" src="https://df-prod.autocad360.com/jsapi/v3/Autodesk.AutoCAD.js ">
</script>
<script type="text/javascript">
function myFunction() {
Acad.Application.addDocWindow("Another Title", "https://www.theswamp.org/index.php?topic=54086.msg611080#msg611080");
}
myFunction();
</script>
</head>
<body>
</body>
</html>
(command "_.WEBLOAD" "l" "c:\\users\\me\\desktop\\myWebDocument.html")
MSTG007,Where or how did you find about Google Earth within CAD? lol. Thats pretty neat...."Google Earth within CAD" might be a little deceptive. It's just a web page. Probably using the Javascript API!