I'm creating my hole data as below. however if you go back and try to edit it, you get a message that the selected thread does not have a thread family identifier. add the appropriate thread family identifier in the holes database.
cSE.oHoleData = cSE.oPartDoc.HoleDataCollection.Add(HoleType: SolidEdgePart.FeaturePropertyConstants.igRegularHole,HoleDiameter: cSE.dTapDrill,TreatmentType: SolidEdgePart.FeaturePropertyConstants.igTappedHole,ThreadDescription: cSE.sThread,ThreadDepth: cSE.dOutsideDia - cSE.dInsideDia);
it sets the Standard to inch instead of ANSI inch and the sub type to thread instead Standard Thread. Does anyone know how to fix this?
Go to Solution.
this one was my own stupidity. I never passed it the thread description. works now.