I am trying to create and new part using the automation API.
I can create an IADPartSession successfully using the following code.
VARIANT_BOOL sheetMetal = 0;
_bstr_t part = _bstr_t("test.AD_PRT");
IADPartSession *session = m_pRoot->CreateEmptyPart(part, sheetMetal);
The documentation...