I try to add my smart component using the addComponents it opens the component correctly but i'm unable to see the property manger or edit the part/assembly option:
// Then add the component to the view(side).
var panelActiveDoc = (AssemblyDoc)_swApp.ActiveDoc;
var panelComponent = (ModelDoc2)_swApp.OpenDoc6(pathToFile, (int)swDocumentTypes_e.swDocPART, (int)swOpenDocOptions_e.swOpenDocOptions_Silent, "", ref errors, ref warnings);
var insertedPanelComponent = (Component2)panelActiveDoc.AddComponent4(pathToFile, "Default", 0.0, 0.0, 0.0);
_swApp.CloseDoc(pathToFile);
The pathToFile points to a smart component.
When i drag and drop this same component by hand it does show the properties and also the option to edit part/assembly:
Do i need to import the smart component another way?