- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Lien permanent
- Imprimer
- Signaler
Hi Everybody
Have you ever met the error with ThickenFeature in Inventor
I have created code to thicken faces that I selected before
But in the new part file, the code is very normal and work well
But when I open 1 part file (which created it by Making a component from the MultiSolid part file) the code just can create the first thicken face, it met the error for the second and stop the code for the first time I run code in that part file for the first time. When I that code for the second time, it works normally.
Does anyone have experience with my issue?
If you help any ideas, please help me
I also attach my code here so you guys can know my code
foreach (Face face in laminate)
{
FaceCollection FacesCol = default(FaceCollection);
FacesCol = _invApp.TransientObjects.CreateFaceCollection();
FacesCol.Add(face);
oThickFeat = partDef.Features.ThickenFeatures.Add(FacesCol, laminate_thick.Text + "mm", PartFeatureExtentDirectionEnum.kNegativeExtentDirection, PartFeatureOperationEnum.kNewBodyOperation, false, false, false);
oThickFeat.SurfaceBody.Name = "Laminate " + i.ToString();
oThickFeat.Name = "Thicken_Laminate " + i.ToString(); ;
}
Thank you so much and hope someone can help me!
Résolu ! Accéder à la solution.