I need some suggestion regarding the way I designed the script. Let me brief you something about my current task. I have a family, which has 765 types (family types) and I want to insert data from excel into the family. There are 12 parameters (type parameters), which have to get updated through this script from excel, but the script is taking so long time more than 15 to 20 hours, which is a bit hard for us to work within the tight schedule. Now, what I want if anybody can correct me with my script if anything is wrong or suggest me any better idea to reduce the time. One more thing, I ran this script on computer, which has 32 gb RAM, i7, and 4 gb dedicated graphics card. Please see the below images, I have pasted the script in three parts, but I hope you can understand, the first two are parts, and third one is complete script. There are no errors with the script, but its taking tooooooooooo long time Please provide suggesstion and thanks in advance.