Hi Rob,Could you please give us a bug report ID related to this
crash?The definition of the HideStuff function would be helpful. Or the
list of the API functions you call inside it.The minimum steps to
reproduce this crash with a new plan also would ...
Hi Rob,Unfortunately, there is no way to get notified when this event
occurs. As you mentioned, the only thing you can do is inserting a new
format and react when the publishing of the inserted format is
called.Best Regards,Ákos
Hi Linh,You have to change the bit of APILay_Hidden in the
attr.header.flags attribute to get the desired result.If you always want
to show or hide the layer then use the proper branch of the commented
solution. GS::UniString attrName = *attr.header....