1 Reply Latest reply on Feb 10, 2014 5:20 PM by Artem Taturevych

    Modify Existing Weld Member Feature

    Greg Lelonek

      I trying to modify a definition of an existing weld member feature. I had made an entire ANSI Pipe Library with almost all pipe sizes and thicknesses. Now I wanted to add the part to an assembly and modify the Size to what is needed for the particular configuration.

       

      So far the only help in the SolidWorks API is from http://help.solidworks.com/2013/english/api/sldworksapi/insert_weldment_features_example_csharp.htm Example.

      The code from that example would be:

       

                  FeatureManager fm = Part.FeatureManager;

                  profilePathName = "C:\\Program Files\\SolidWorks Corp\\SolidWorks\\data\\weldment profiles\\ansi inch\\square tube\\2 x 2 x 0.25.SLDLFP"; 

                  structuralMember = fm.InsertStructuralWeldment3(profilePathName, 1, 0.0, false, GroupArray1);

       

      Everything I find is to insert a brand new feature, not modifying an existing feature. The picture below is the feature's definition I am trying to modify.

      Weldment.JPG

       

      Any help on this topic would be greatly appreciated.