CreateExtrusion

Use this Function to create an extrusion of the profile in the specified sketch

Input Parameters

        pSketch                   The Sketch that contains Lines representing the profile for Extrusion.
        distance                   The distance by which the Sketch is to be Extruded
        direction                  Direction as above,below,symmetric about workplane
        taperAngle               The taper angle of Extrusion.
        side                          The side of an open profile.
        materialStatus           The type of Operation to be performed.(Add,Subtract,Intersect material )
        extrusionName          The extrusion feature name.

Output Parameters

        The created Extrusion object.

Description

Use this method to  create an Extrusion of the Sketch, by specifying the direction and the distance.

The possible directions are about the workplanes are

       above                0
      below                 1
      symmetric           2

For extruding open profiles,  side of the profiles must be indicated. . The side should be 0 or 1, representing inside or outside of the open profile.

The operations that be performed are either  Add(0), Subtract(1) or Intersection(2) for the materials.