XRDesignBarManager.SetCommandVisibility Method

Name Parameters Description
SetCommandVisibility(CommandID, BarItemVisibility) commandID, visibility Obsolete. Changes the visibility of any bar item which executes the specified command.
SetCommandVisibility(CommandID[], BarItemVisibility) commands, visibility Obsolete. Changes the visibility of any bar item which executes any of the specified commands.