AnsweredAssumed Answered

Edit boss-extrusion in both direction

Question asked by Di Anne on Sep 22, 2014
Latest reply on Sep 24, 2014 by Di Anne

Hello,

 

Does anyone knows how to edit the extrusion of the selected extruded part in both direction?

 

Im using this code but only direction 1 is being edited wherein both direction 1 and 2 must be updated.

 

            swFeat = swPart.FeatureByName("Boss-Extrude1");

            ExtrudeFeatureData2 swExtrudeFeatData = swFeat.GetDefinition();         

            swExtrudeFeatData.SetEndCondition(true, (int)swEndConditions_e.swEndCondBlind);

            swExtrudeFeatData.SetDepth(true, 3 / 1000);

            swFeat.ModifyDefinition(swExtrudeFeatData, swModel, null);

 

Thanks in advance.

Outcomes