public static void CreateFeature1(ModelDoc2 FeatDoc) { FeatureManager SwFeatMrg = FeatDoc.FeatureManager; Feature SwSektchFeat = ((PartDoc)FeatDoc).FeatureByName("草图1"); SwSektchFeat.Select(false); Feature SwFeat = SwFeatMrg.FeatureExtrusion3(true, false, false, 0, 0, 0.01, 0.01, false, false, false, false, 0, 0, false, false, false, false, true, true, true, 0, 0, false); }