The Invoke method activates a TerraExplorer menu command.
Note: The list below describes the complete set of menu entries in the TerraExplorer product suite. The menu entries that are functioning in your version are determined by your product level (e.g., TerraExplorer Viewer, TerraExplorer Pro), and your licensed extensions.
HRESULT Invoke(
[in] long CommandID)
Parameters:
CommandID –Determines the menu command to be invoked. The command can have one of the following values:
File Menu:
New… = 34401
Open… = 57601
Close… = 57602
Save… = 57603
Save As… = 57604
Build TerraExplorer Viewer Kit … = 32790
Print… = 34400
Edit Menu:
Select Object = 33432
Select Area = 33433
Copy = 32817
Cut = 32818
Paste = 32819
Properties… = 34005
View Menu:
Flight Panel = 1020
Upper Left Container = 1013
Lower Left Container = 1014
Hide Terrain Imagery = 34416
Full Screen = 32820
Navigation Menu:
Drag Mode = 1022
Slide Mode = 1021
Turn and Tilt Mode = 1023
Zoom Menu:
House = 32771
Street = 32772
City = 32773
State = 32774
Globe = 32775
Play = 1011
Pause = 34002
Stop = 1010
Beginning of Route = 34013
End of Route = 34012
Face North = 7008
Fly Around = 34026
View Object Menu:
Circle pattern = 34208
Oval pattern = 34209
Line pattern = 34210
Arc pattern = 34211
Behind object = 34200
Above object = 34201
From below = 34202
From right = 34203
From left = 34204
From behind and above = 34205
Cockpit view = 34206
From ground point = 34207
Navigation Map Settings… = 646
Underground = 33372
Layers Menu:
Load Feature Layer… = 45200
Load Imagery Layer… = 33361
Load elevation Layer… = 33362
Load Kml/Kmz Layer… = 45140
Data Library Layers… = 34429
Upload New Features Layer To Oracle
Spatial
= 34501
Create Resolution Pyramid… = 34500
Attributes Table… = 45138
Refresh Layer = 45132
Save As Layer(s)… = 45300
Create Menu:
2D Objects Menu:
Text Label = 33318
Image Label = 33319
Polyline = 33300
Polygon = 33301
Rectangle = 33302
Regular Polygon = 33303
Arrow = 33304
Circle = 33305
Ellipse = 33306
Arc = 33307
3D Objects Menu:
Load 3D Model = 33321
Point Cloud Model = 33360
Load Linear Point Cloud set = 34417
Building = 33317
Polygon = 33316
Box = 33310
Cylinder = 33312
Sphere = 33313
Cone = 33314
Pyramid = 33311
Arrow = 33315
Dynamic Objects Menu:
Ground Vehicle = 33322
Aerial Vehicle = 33437
Load Dynamic Object Route = 33438
Terrain Objects Menu:
Modify Terrain = 33370
Hole On Terrain = 33371
Video On Terrain = 33309
Location = 45121
Route = 45120
Tree Message = 45122
New Information Tree Group = 45000
Measurements Menu:
Information Query = 33325
Horizontal Distance = 33326
Aerial Distance = 33327
Vertical Distance = 33330
Measure Area = 33350
Contour Map = 33331
Terrain Profile = 33329
Best Path = 33333
Line Of Sight = 33328
Viewshed Analysis = 33334
Threat Dome = 33332
Tools Menu:
Collaboration = 34419
Extract Terrain Menu:
To MPT = 34420
To VRML = 34436
Shadow Analysis = 32779
Draw = 34413
GPS Tracking = 34422
Find Objects = 34411
Duplicate Objects = 34412
Build Power Line = 34414
Navigation Aid = 34438
Multiple Coordinate Systems = 34437
Mil-Std-2525b = 34431
Make Point Cloud Model… = 34435
Sextant = 32782
Data Library Menu:
3D Models = 34425
Icons = 34426
Building Textures = 34427
Label Frames = 34428
Snapshot… = 32783
Save Snapshot To File… = 32781
Snapshot Size… = 32785
Project Settings… = 34405
Options… = 32787
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
E_FAIL |
Catastrophic failure. |