UseComponent

Use this Function to use a specified component as a feature modeling tool

Input Parameters

            component            The DesignInstance that acts as a "tool" on the "blank".
            materialStatus        The type of Operation to be performed. (Values 0,1,2 for Add,Subtract,Intersect Material )
            bHidecomponent    If TRUE hide the component
            featureName           The name of the feature

Output Parameters

The created Tool object.

Description

This Function uses a specified component as a feature modeling tool. The Tool is added to the set of Operations in the Design.

 Following types of Operation are supported:
        unite                   Union of the tool and the balnk.                     0
        subtract             Difference of the tool from the balnk.              1
        intersect            Intersection of the tool with the balnk.             2

 Note :  Solid(s) created by the Tool object are referred to as "tool"  and the solids present in the existing Design are referred to as "blank" in the above table.