View Single Post
# 12 30-08-2004 , 08:13 PM
mark_wilkins's Avatar
Registered User
Join Date: Jan 2003
Posts: 161
Hi, sorry about missing this thread! Thanks for the kind words, suzanne!

Yes, that script has problems if you already have the window open. Page 431, later in the example, recommends adding a test for the window already existing.

However, what that code should be doing, ideally, is checking the return value from the window command and storing the actual name of the created window rather than just assuming that a window named crowdWin gets created. I'll make a note of it for any future revisions.

Meanwhile, if you run into problems while working through the book, please feel free to post on the melscripting.com forums at

https://forums.melscripting.com/

I check those boards daily and can jump in and help if someone else doesn't get to it first. user added image

-- Mark


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