CreateProjection

Use this Function to Project a Profile of a specified sketch onto the part.

Input Parameters

        inputSketch                   The Sketch that contains Lines representing the profile for Projection.
        faces                             The set of Faces needed for Projection with extent type "through to selected face".
        direction                        direction as above,below,symmetric about workplane
        extent                            The extent of Projection. (Thru to next face,thru to entire part,Thru to selected face )
        profileSide                     The side of an open profile.
        taperAngle                    The taper angle of Projection.
        materialStatus                The type of Operation to be performed. (Add,Subtract,Intersect material )
        projectionName             The projection feature name.

Output Parameters

    The created Projection object.

Description

This function creates a Projection object. The Projection is added to the  set of Operations in the Design. You must provide a direction of Projection indicating whether you want to project  above or below the Workplane of the profile Sketch.

 The following extents are supported in a Projection:
        Projection through to the next Face                  0
        Projection through the entire Design                 1
        Projection through to a selected Face               2

 If you are projecting open profiles you must also indicate a side of the profile. The  side should be 0 or 1, depending upon whether the project inside or outside of the profile is required.