Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

Intercept layer hidden/show events.

$
0
0
Author:IanTr
Posted: Wed Dec 14, 2016 4:49 am (GMT+1)


Hello,

I've implemented all the below functions and put a breakpoint in them. It appears that none of the below is hit when I hide a layer/show all.

ACAPI_Notify_CatchProjectEvent
ACAPI_Notify_CatchViewEvent
ACAPI_Notify_CatchToolChange
ACAPI_Notify_CatchSelectionChange
ACAPI_Notify_CatchChangeDefaults
ACAPI_Notify_CatchNewElement
ACAPI_Notify_InstallElementObserver
ACAPI_Notify_CatchElementReservationChange
ACAPI_Notify_CatchLockableReservationChange

Not sure if I am using the right function call to intersect the above events. Not sure if relevant but when right click on model and 'Move', the functions below do get called.

GSErrCode __ACENV_CALL ElementEventHandlerProc ( const API_NotifyElementType *elemType )

static void OnElementNotify ( const API_Guid &guid )

Thanks in advance,
Ian


Viewing all articles
Browse latest Browse all 564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>