Part Modeling > Datum Features > Datum References > To Automatically Place UDFs Using Datum Reference Features
  
To Automatically Place UDFs Using Datum Reference Features
Create pairs of datum reference features that define intent objects of the same type with the same intent names. One datum reference feature is created in the destination part into which you will place the UDF, and the other is created in the part from which you create the UDF. When you place the UDF in the destination part, the correct references are matched automatically.
1. In the destination part into which you will place the UDF, create a datum reference feature with a descriptive intent name: Intent Datum, Intent Chain, or Intent Surface.
2. In the part from which you will create a UDF, create the same datum reference feature with the same name as you created in step 1.
3. In the part from which you will create a UDF, search for the datum reference feature and save the query so you can use the datum reference feature in the destination part:
a. Click Model > Datum > Reference. The Datum Reference dialog box opens.
b. Under Type, select the type of intent reference feature that you created.
c. On the Placement tab, click the reference collector to activate it.
d. Click Tools > Find to open the Search tool. Find the intent object that you created in step 2.
e. Click Options and select Save Query To File.
 
* You must create all the intent objects before you create the corresponding UDFs.
4. Create the UDF:
a. Click Tools > UDF Library > Create.
b. Type a name in the UDF name box and click .
c. Select Stand Alone or Subordinate.
d. Click Done.
e. Define the UDF using the datum reference feature that you created.
f. Click Done/Return.
g. Click OK.