PlaneThroughObjects

Use this Function to create a workplane passing through two lines or edges

Input Parameters

        firstGeometry                first line or edge used to create the workplane
        secondGeometry          second line or edge used to create the workplane
        workplaneName           Name of the workplane
        sketchName                 Name of the sketch to be created on the workplane
        bNoSketch                  Boolean to specify if the workplane will contain a sketch or not.
        color                            Value of color which represents the color of the new sketch

Output Parameters

        The Created Workplane

Description
 
This Function creates a workplane passing through two lines or edges  If a workplane with the given  name alredy exists, new workplane is not created. It also creates a new sketch on the created workplane and makes the created sketch active depending upon the value of the bNoSketch boolean.The range of values color of the sketch can take is 0 through 11. If the value is out of this range a default color of green is assumed.