Use this method to add the specified component to the assembly.
HRESULT AddComponent(CString strFileName, IDesign **component) ;
pathName Design file name to be added.
Output Parameters
component Newly added component.
Description
Use this method to add the specified part by file name to the assembly.