any help on this would be appreciated. right now I am stuck with with just the conversion part.
I don't have VS on my work computer so can't test your codes. I will give it try on my home computer.
There are few things I would like to highlight:
1. I cannot find IExportPdfData object in your codes.
2. You need to use IModelDocExtension::SaveAs method to save the drawing as PDF.
Thanks for the reply.
I eventually figured out that the problem. I used to just have the drawing file in the location from which I convert files. The corresponding part files weren't present. Hence the linkage never happened and I ended up with just the meta information in the resultant PDF.
I know it was noobish on my part, but I have quite less knowledge on Solidworks.