CreateHole

Use this Function to create holes at the center of the circles in the specified sketch

Input Parameters

        sk                    The Sketch that contains circles whose centers determine the positions of the holes.
        faces                The set of Faces needed for the Hole with extent type "through to selected face".
        direction           Direction as above,below,symmetric about workplane
        htype               The type of the Hole.
        extent              The extent of the Hole. (Blind,Thru to entire part,thru to next face,thru to selected face )
        holediam          The diameter of the Hole.
        holedepth        The depth of the Hole.
        tapratio           The taper ratio of the Hole.
        countdiam       The bore diameter of the Hole.
        countdepth       The bore depth of the Hole.
        countang          The sink angle of the Hole.
        drillang            The bottom angle of the Hole.
        holeName        The name of the hole feature

Output Parameters

The created Hole object.

Description

The Hole operation uses the given sketch for the basis. Using the circle entities on the sketch, the holes will be created on the existing solids in the Design. Sketch should contain at least one circle in it.

The direction of the Hole can be either above(0) or below(1)  the workplane.

The following types of Holes are supported:
        Simple Hole.                     0
        Tapered Hole.                  1
        Counter bore Hole.           2
        Counter sink Hole.            3
        Counter drill Hole.            4

 The extents of the Hole created can also be specified.

        Blind or a finite Hole.                               0
        Hole through the entire Design.                1
        Hole through to the next Face.                 2
        Hole through to a selected Face.             3