Sorry!!!!!!!!!! I almost forgot about the extract tool... I just kept on using the seperate tool which gave me a error message. It worked. Thanks a lot. I shall try to write the mel script myself.It can be done. THANKS for the motivation . Whenever I'd posted threads on SimplyMaya,Many of my doubts have been solved. Thanks once again.