Starts the part selection (using the configured database).
Enable selection of multiple parts. After calling the action, check the calling context for PartNr, Variant and PartType of the first selected part:
String strAction = "XPamSelectPart";
ActionManager oAMnr = new ActionManager();
Eplan.EplApi.ApplicationFramework.Action oAction = oAMnr.FindAction(strAction);
if (oAction != null)
{
ActionCallingContext actionCallingContext = new ActionCallingContext();
actionCallingContext.AddParameter("SingleSelection", "false");
bool bRet = oAction.Execute(actionCallingContext);
if (bRet)
{
string partNr1 = "";
string variant1 = "";
string partType1 = "";
actionCallingContext.GetParameter("PartNr1", ref partNr1);
actionCallingContext.GetParameter("Variant1", ref variant1);
actionCallingContext.GetParameter("PartType1", ref partType1);
}
}