Instantiating a User Feature From a Catalog, From a Document, From a Selection

The scenario described below shows how to instantiate a User Feature

From a Catalog

  1. Open the PktForInstantiation.CATPart document.

  1. In the standard toolbar, click the icon. The catalog browser is displayed.

  2. Click the icon. In the dialog box which is displayed, select the catalog containing the User Features you want to instantiate. Click Open to open the selected catalog. The dialog box which is displayed next enables you to navigate through the chapters and the families of the catalog until you can access the desired User Feature.

  3. Double-click the '3 inputs'  object and the 'Pad.2' object. The Insert Object dialog box is displayed.

    For more information about the Insert Object dialog box, click here.

     

    Note that in some cases, when instantiating a User Feature, the replacing element does not present the same sub-elements as the replaced element. Therefore you need to clearly indicate in a specific dialog box, the Replace Viewer, how to rebuild the geometry from the replacing element.

  4. To instantiate Pad2 into the document:

    1. If need be, select Point.2 in the Insert Object dialog box, then click the Point.2 object in the document geometry area or in the specification tree.

    2. Select Point.3 in the Insert Object dialog box, then click the Point.3 object in the document geometry area or in the specification tree.

    3. Select Extract.1 in the Insert Object dialog box, then click the face highlighted on the graphic below.

    4. Click OK to instantiate the Pad2 User Feature and exit the Insert Object dialog box. The User Feature Pad2 is instantiated into the document. This is what you can see on screen.

 

From a Document

  1. Open the PktForInstantiation.CATPart document.

  2. Click the Instantiate an element stored in a document icon (). The File Selection dialog box is displayed.

  3. Select the PktInstantiateUDFfromDocument.CATPart file and click Open.

  4. The Insert Object dialog box is displayed.

    • From the Reference scrolling list, select the User Feature that you want to instantiate (Pad2 in this scenario).

    • If need be, select Point.2 in the Insert Object dialog box, then click the Point.2 object in the document geometry area or in the specification tree.

    • Select Point.3 in the Insert Object dialog box, then click the Point.3 object in the document geometry area or in the specification tree.

    • Select Extract.1 in the Insert Object dialog box, then click the face highlighted on the figure below.

    1. Click OK when you are done. The User Feature is instantiated.

Click here to find out more about the Insert Object Dialog box.

From a Selection

  1. Open the PktInstantiateUDFfromDocument.CATPart and the PktForInstantiation.CATPart files.

  2. Tile the window vertically.

  3. Expand the KnowledgeTemplates node in the PktInstantiateUDFfromDocument.CATPart file and click the Pad2 User Feature.

  4. Go to the PktForInstantiation.CATPart file and click the Instantiate from Selection icon (). The Insert Object dialog box is displayed.

  5. Click Use identical name and click the face highlighted in the picture below.

  1. Click OK when done. The User Feature is instantiated.

See the Quick Reference topic for a comprehensive list of the interactions that can be carried out on User Features.