Graphisoft®

API Development KitVersion: 18

API_ElementDBEventID

요소 알림의 원인을 설명합니다.

    typedef enum {
        APINotifyElement_BeginEvents   = -1,
        APINotifyElement_EndEvents     = -2,
        APINotifyElement_New           =  1,
        APINotifyElement_Copy          =  2,
        APINotifyElement_Change        =  3,
        APINotifyElement_Edit          =  4,
        APINotifyElement_Delete        =  5,

        APINotifyElement_Undo_Created  = 11,
        APINotifyElement_Undo_Modified = 12,
        APINotifyElement_Undo_Deleted  = 13,
        APINotifyElement_Redo_Created  = 14,
        APINotifyElement_Redo_Modified = 15,
        APINotifyElement_Redo_Deleted  = 16
    } API_ElementDBEventID;

 

멤버

APINotifyElement_BeginEvents
요소 알림들의 시작을 표시합니다.
APINotifyElement_EndEvents
요소 알림들의 끝을 표시합니다. (이 작업에서 더 이상 알림들이 예상되지 않음)
APINotifyElement_New
새로운 요소가 생성되었습니다.
APINotifyElement_Copy
요소가 복사되었습니다; 원래 요소의 복사본에 대한 알림들이 올 것입니다.
APINotifyElement_Change
요소의 파라미터들이 변경되었습니다.
APINotifyElement_Edit
요소가 편집되었습니다. 편집하기 변환의 파라미터들을 ACAPI_Notify_GetTranParams로 가져올 수 있습니다.
APINotifyElement_Delete
요소가 제거되었습니다.
APINotifyElement_Undo_Created Featuring API 12
요소에서 수행된 마지막 생성 동작이 취소되었습니다.
APINotifyElement_Undo_Modified Featuring API 12
요소에서 수행된 마지막 변경 동작이 취소되었습니다.
APINotifyElement_Undo_Deleted Featuring API 12
요소에서 수행된 마지막 제거 동작이 취소되었습니다.
APINotifyElement_Redo_Created Featuring API 12
요소에서 마지막 취소된 생성 동작이 다시 수행되었습니다.
APINotifyElement_Redo_Modified Featuring API 12
요소에서 마지막 취소된 변경 동작이 다시 수행되었습니다.
APINotifyElement_Redo_Deleted Featuring API 12
요소에서 마지막 취소된 제거 동작이 다시 수행되었습니다.

 

설명

이 열거형 타입은 API_NotifyElementType structure에서 사용합니다.

 

요구사항

버전: API 4.1 또는 이후
헤더: APIdefs_Callback.h

 

참고사항

API_NotifyElementType
APIElementEventHandlerProc
ACAPI_Notify_CatchNewElement
ACAPI_Element_AttachObserver
ACAPI_Notify_GetTranParams
API 타입