OnProjectTreeAction

This event occurs when an action (e.g., object was deleted or shown) is performed on a Project Tree item.

 

JavaScript

 

OnProjectTreeAction(

       ID,

       Action)

 

C#

 

void OnProjectTreeAction(

       string ID,

       IAction80 Action)

 

C++

 

HRESULT OnProjectTreeAction(

       [in] BSTR ID,

       [in] IAction80* Action)

Parameters

ID

The ID of the object on which the action was performed.

Action

An IAction80 representing the action that is performed on an item. The following are possible values:

·          AC_DELETE = 15
The object was deleted.

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

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

·          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.