Thankyou very much for the reply.
I already tried saving it using vcComponent.save(file_uri) but I was unable to save it.I get a output stating that the comp is still a none type object.I am attaching the necessary screenshots.
First of all,Thanks for your help previously.
A new issue has arised and I am unable to solve it and was hoping that you could help me out.
After saving the file and making sure a new VCID is assigned, I tried to load the component again with the VCID obtained.Unfortunately, I am not able to do so.I am attaching the screenshots for your referral.