IAction80

This interface gives access to actions that can be performed on an object.

 

Properties

 

Code

Gets and sets the action that was performed on an item.

Param

Gets and sets the param value that should be interpreted based on the IAction80.Code value.

 

When queried from the Action property of an object, from IProjectTree80. GetActivationCode, IAction80 represents the operation that takes place when the object is clicked in the Project Tree.

The following are possible values:

§   AC_FLYTO = 0
Fly to the object operation.

§   AC_CIRCLEPATTERN = 1
Circle pattern around the object operation.

§   AC_OVALPATTERN = 2
Oval pattern around the object operation.

§   AC_LINEPATTERN = 3
Line pattern around the object operation.

§   AC_ARCPATTERN = 4
Arc pattern around the object operation.

§   AC_FOLLOWBEHIND = 5
Follow behind the object operation.

§   AC_FOLLOWABOVE = 6
Follow above the object operation.

§   AC_FOLLOWBELOW = 7
Follow below the object operation.

§   AC_FOLLOWRIGHT = 8
Follow from the right of the object operation.

§   AC_FOLLOWLEFT = 9
Follow from the left of the object operation.

§   AC_FOLLOWBEHINDANDABOVE = 10
Follow from behind and above the object operation.

§   AC_FOLLOWCOCKPIT = 11
Follow from cockpit operation.

§   AC_FOLLOWFROMGROUND = 12
Follow the object from the ground point operation.

§   AC_JUMP = 14
Jump to the object operation.

When IAction80 is called from ISGWorld80.OnObjectAction or ISGWorld80.OnProjectTreeAction, IAction80 represents the action performed on a TerraExplorer object.

The following values are valid:

§   AC_FLYTO = 0
Fly to the object operation was started.

§   AC_CIRCLEPATTERN = 1
Circle object operation was started.

§   AC_OVALPATTERN = 2
Oval pattern around the object operation was started.

§   AC_LINEPATTERN = 3
Line pattern around the object operation was started.

§   AC_ARCPATTERN = 4
Arc pattern around the object operation was started.

§   AC_FOLLOWBEHIND = 5
Follow behind the object operation was started.

§   AC_FOLLOWABOVE = 6
Follow above the object operation was started.

§   AC_FOLLOWBELOW = 7
Follow below the object operation was started.

§   AC_FOLLOWRIGHT = 8
Follow from the right of the object operation was started.

§   AC_FOLLOWLEFT = 9
Follow from the left of the object operation was started.

§   AC_FOLLOWBEHINDANDABOVE = 10
Follow from behind and above the object operation was started.

§   AC_FOLLOWCOCKPIT = 11
Follow from cockpit operation was started.

§   AC_FOLLOWFROMGROUND = 12
Follow the object from the ground point operation was started.

§   AC_STOP = 13
The object was stopped being played (i.e., after a fly to operation).

§   AC_JUMP = 14
Jump to the object operation was started.

§   AC_DELETE = 15
The object was deleted.

§   AC_EDIT_FINISHED = 16
The object was finished being edited.

§   AC_OBJECT_ADDED = 17
An object was added to TerraExplorer.

§   AC_PLAY = 18
Play operation for the object was started.

§   AC_SHOW = 19
A show or hide action was performed by clicking on the item show/hide icon.

§   AC_EDIT_STARTED = 20
Edit operation for the object was started.

§   AC_SELCHANGED = 21
The current selected item(s) has changed.

§   AC_WAYPOINT_REACHED = 22
A dynamic object reached a way point, or the camera reached a route waypoint.

§   AC_GROUP_ADDED = 23
A group was added.

§   AC_LAYER_ADDED = 24
A layer was added.

§   AC_LAYER_REFRESHED = 25
A layer was refreshed.

§   AC_ITEM_MOVED = 26
An item was moved to a different location.

§   AC_LAYER_REMOVED = 27
A layer was removed.

§   AC_3DML_ADDED = 28
A 3DML was added.

§   AC_3DML_REMOVED = 29
A 3DML was removed.

§   AC_DRAWING_OBJECT_STARTED = 30
The drawing of an object was started
(performed from the user interface or API by calling any of the IDrawing methods or DrawFeature).

§   AC_DRAWING_OBJECT_FINISHED = 31
The drawing of an object was finished
(performed from the user interface or API by calling any of the IDrawing methods or DrawFeature).

§   AC_EDIT_CHANGE = 32
Object was modified from the Property Sheet. This value is only available for objects that support Undo/Redo edit actions.