Pin Me
conceived

Free Pro Engineer Training: How to Create and Use UDF in Pro-Engineer

written by: Suvo • edited by: Lamar Stonecypher • updated: 12/14/2009

IN this free Pro Engineer tutorial we shall see the that the user defined feature (UDF) is a tool by using which you could slash down your modeling time. Using UDF is meaningful when you are dealing with a group of features repeatedly.

  • slide 1 of 2

    Your professional pro engineer modeling field it is highly possible that you may be working with similar kinds of components again and again, or may be you are using some of the features very frequently. You should, as a efficient modeling practice, adopt the use of UDF.

    By creating UDF you will actually copy all or some of the required modeling data like, dimension, relations and necessary references to a file with your given name and .gph extension. Now when you call this UDF it will ask the references for placement.

    Types of UDF

    Depending on the method of creation of UDF, it could be classified in following two categories:

    1. Subordinate UDF

    2. Stand alone UDF

    Subordinate UDF

    The part from which the UDF is being created determines the dimensions of the subordinate UDF. Whenever the dimensions of the reference part are being changed the same is reflected in the UDF. However after placing the UDF in independent mode, if you change the dimensions of the UDF, it will not be reflected in the UDF library. Means subordinate UDF could be modified after its placement provided you have placed it by clicking the independent option.

    Standalone UDF

    Standalone UDF will copy all the reference and relation data from the reference part. And as the name suggest, even if you change dimensions of the reference part, the same will not get reflected in the created UDF.

    You can copy the original/reference part while creating UDF in pro engineer, the benefit of this is; you can see the relations and dimensions in that part. The part will be stored after adding _gp with the reference part name.

    Creation of UDF

    First of all you need to clearly decide the reference part and the features for UDF. While choosing feature for UDF, please remember that, the features which could not be assembly level feature (like round etc.), cannot be used in assembly. So, long and short of it is, if you are in process of defining an UDF and you want to use this UDF for assembly, then you should limited your features by extrusion.

    You need to follow the following way for creating a UDF from a part:

    Tools>UDF library>create

    It will ask for the name of the UDF, You need to give a meaningful name as the same name will be referred for placing the UDF.

    You have to choose the type (subordinate or standalone); the UDF creation dialogue box will open and asks for the feature or components (in case you are creating UDF from assembly). You will be required to specify the placement reference as well. Please be sure to give meaningful names for the placement reference as the same will be required later when you will use the UDF.

  • slide 2 of 2

    Placements of UDF

    Open the pro engineer file where you want to place the UDF, go to insert>user defined feature; the UDF needs to be selected now by its name.

    By two ways you can place/use an UDF in your model:

    1. Independent
    2. UDF driven

    Independent

    If you choose this option while placing the UDF, you are going create a group which is no way related to the parent/reference UDF. You can change any of the dimensions of the reference UDF and it won’t reflect to the newly created group. Most of the cases you may love this approach only.

    UDF driven

    By choosing this option of UDF placement, you are actually creating some sort of relation between the UDF and the created group in your model. Any change in the UDF will be reflected to the group by updating. In case of a subordinate UDF, the UDF driven group will indirectly be controlled by the reference part itself.