Yes you are correct, sorry about that it was my fault.
Both issues fixed in version 2 attached., Stock Surface is now negative and no error if making multiple Parts with the plugin.
I used this code to get a unique name each time a Part with the same name is found, might be useful to someone.
string MyNewPart = "Fly Pocket";
MyNewPart = MakeNewPart(MyNewPart);
CamBamUI.MainUI.ActiveView.CADFile.SetActivePart(MyNewPart);
// Make a New Part, return unique name if requested Part exists
public string MakeNewPart(string DesiredName)
{
string ActualName = DesiredName;
int Index = 1;
while (CamBamUI.MainUI.ActiveView.CADFile.HasPart(ActualName))
{
ActualName = DesiredName + "(" + Index.ToString() + ")";
Index++;
}
CamBamUI.MainUI.ActiveView.CADFile.CreatePart(ActualName);
return ActualName;
}