//Создание эл-та кручение public RevolveFeature Create_Revolve(PlanarSketch sketch, PartFeatureOperationEnum enumer) { Profile profile = sketch.Profiles.AddForSolid(); RevolveFeature revolve = partCompDef.Features.RevolveFeatures.AddFull(profile, center_line, enumer); return(revolve); }
/// <summary> /// Loft /// </summary> /// <param name="objCollection"> Loft planes </param> /// <param name="loftOperation"> Loft operation </param> public void Loft(ObjectCollection objCollection, PartFeatureOperationEnum loftOperation = PartFeatureOperationEnum.kJoinOperation) { var loftDef = _partDef.Features.LoftFeatures. CreateLoftDefinition(objCollection, loftOperation); var oLoft = _partDef.Features.LoftFeatures.Add(loftDef); }