//Data for creating the Mounting Panel
List<Placement3D> listAdditionalPlacements = new List<Placement3D>();
String strPartNr = "MP_With_Variants";
String strPartVariantNr = "1"; //First part variant
int nMacroVariant = 1; //Variant B
//Creating Mounting Panel
MountingPanel oMountingPanel = new MountingPanel();
oMountingPanel.CreateTransient(m_oTestProject, strPartNr, strPartVariantNr, nMacroVariant, listAdditionalPlacements);
//Placing Mounting Panel
oMountingPanel.SetParent(oInstallationSpace, true);