Hi Sreenivasaraju,
You can do this using the Power Scripts add-on.
There is a video tutorial walking you through your exact request in detail along with the code here.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.