View Single Post
# 1 17-01-2006 , 09:12 PM
Registered User
Join Date: Jun 2005
Posts: 22

Forcing a check box to be checked.

What is the mel command to ensure that a checkbox is always checked in the options dialog box of a command. Ie, in the duplicate options box, how would I make sure that the force unique name checkbox is always checked even after the user chooses reset settings.

Currently my approach is:

optionVar -iv "duplicateRenameChildren" 1;

but that does not hold when the resets tool options.

Thanks.