Quoting my response before Rob:
"Thank you Emilio, for getting back on this so quickly with a prompt response.
This might be really a naive question. I am sorry if it is so. So, I implemented the vsp_read_fuselage.py program. It runs without any errors - which means I was successfully able to interface the python API with open vsp. However, I am a bit unclear on how to obtain fuselage_id from open vsp and does calling the "vsp_read_fuselage.py" function in the main program with that fuselage_id suffice? For example, I have attached a sample fuselage that I am trying to import to python using this vsp_read_fuselage function.
Are you having a working folder that could be shared: which contains an sample open vsp fuselage or wing file that is being imported using the aforementioned function.
I appreciate any and all help you can provide in this direction.
Thank you once again."
I am sorry, I had replied on the email because of which it does not show up here on the thread which might be helpful for somebody else following this thread.
Thank you Rob. That was helpful; I was able to retrieve the fuselage-id using that and able to get the 'vsp_read_fuselage.py' work.
Now, I am trying to write the fuselage onto OpenVSP. It might sound senseles to read from OpenVSP and write it back again - however, the final goal is to automate the design modification using OpenVSP. I was trying to work only on fuselage and was using the 'write_vsp_fuselage()' function in the 'vsp_write.py' file. Is there some way I can get this function to work by skipping the 'main_wing', and 'tank_set_id' arguments? I do not have these in my original design and needed the write feature to work just using the fuselage that I read using the 'vsp_read_fuselage.py' file.
Thanks again in advance