View Single Post
# 14 03-06-2003 , 10:10 PM
mark_wilkins's Avatar
Registered User
Join Date: Jan 2003
Posts: 161
While I was careful to point out why declaring variables even when it's not necessary is a generally a good idea, the original poster was asking for a few simple lines of code that he could presumably type into the script editor on the fly, and maybe drag to a shelf. Such quick-and-dirty solutions don't necessarily warrant the full treatment, in my opinion.

-- Mark


Mark R. Wilkins
author of MEL Scripting for Maya Animators
www.melscripting.com