Hi,
I need to react on the toggle visibility event when I turn the visibilty of a reference within a reference on or off. I do so by catching the event "mdlSystem_setFunction(SYSTEM_REFERENCE_MODIFIED, OnReferenceModified); WITH DECLARATION: Private void OnReferenceModified(ReferenceFile *pOldRef, ReferenceFile *pNewRef, DgnModelRefP modelRef, BoolInt bchangeWritten)" in my ma module.
Unfortunately I only get the pointer to the direct references of my opened file.
Example: opened_doc.dgn has ref1.dgn as reference and ref1.dgn has ref1_1.dgn as reference. When I turn the visibilty of ref1_1.dgn on I get modelRef pointer for model of ref1.dgn. The values of visibilty of pOldRef and pNewRef are the same so I can't figure out what someone clicked in reference manager.
Is it because you can't normally change in a reference of a reference or is it an API Bug?
Kind regards
Marcel