How to create a quick command to display or disable line weight in graphic area?

Currently, we can use Tools>>Options>>Drafting Styles>>Active Draftting Styles>>Line Font>>Line Weight: Bylayer >>"Display weight in graphic area" option to display lineweight in graphic area.

But how to create a command icon to enable or disable it quickly?