Category display check box in journal

Hi all!

In the layer setting menu has checkbox "Category Display".
But this check box is not supported in the process of recording journal.

I need to programmatically disable the display of categories, in this case, if they were turned off earlier, it is necessary that the program did not give a fatal error.

Can you please tell how to do it.

Can you post a small snippet of code that illustrates the error you get due to the category display option?

I do not have an error.
My click the display type can not be written in the code
This option is described in the manual?

In general, journals do not affect the options that you see in the standard dialog boxes. You cannot use a journal to turn dialog options on/off for the user.

You might be able to record a macro to affect the dialog boxes, but not a journal.

ok =)