0% found this document useful (0 votes)
173 views

Concept: Creating Udfs: User-Defined Features Module Overview

- Creo Parametric allows users to create user-defined features (UDFs) to reuse geometry and reduce modeling time. - A UDF is a group of features, references, and dimensions that can be saved and reused on other models. It can reference the original model as a subordinate UDF or have its own standalone file. - To create a UDF, the user first models features in a "template" part and selects which features to include. References from the selected features require prompts that describe them. Variables like dimensions can also be saved.

Uploaded by

Priya Velu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
173 views

Concept: Creating Udfs: User-Defined Features Module Overview

- Creo Parametric allows users to create user-defined features (UDFs) to reuse geometry and reduce modeling time. - A UDF is a group of features, references, and dimensions that can be saved and reused on other models. It can reference the original model as a subordinate UDF or have its own standalone file. - To create a UDF, the user first models features in a "template" part and selects which features to include. References from the selected features require prompts that describe them. Variables like dimensions can also be saved.

Uploaded by

Priya Velu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 49

User-Defined Features

Module Overview:

Creo Parametric enables you to reuse existing geometry when creating new design models.
You can create inheritance features that enable one-way associative propagation of geometry
and feature data from a reference part to a target part within an assembly. You can vary
dimensions and other data propagated from the reference part.

You can also reuse geometry in a design model by creating user-defined features (UDFs). A
UDF consists of selected features, all their associated dimensions, any relations between the
selected features, and a list of references for placing the UDF on various design models.

Objectives:

After successfully completing this module, you will be able to:

 Create user-defined features (UDFs) to reuse geometry.

 Place user-defined features.

 Create user-defined features using on-surface coordinate systems.

Concept: Creating UDFs


Creating UDFs

User-defined features (UDFs) are groups of features, references, and dimensions that can be
saved for use on future models. UDFs save time by helping you establish a library of
commonly used geometry.

Defining a UDF from a “Template” Model


Figure 1 – “Template” Model

To create a UDF, you must first create a "template" part containing the same base geometry
that is in the target model (new model). Then model the features that you wish to include in
the UDF on this part. An example is shown in Figure 1. When modeling the features, be sure
to consider the number of references being created. In most cases, minimizing the number of
references makes the most efficient UDFs.

Define the UDF (*.gph file) in the UDF library, and give it a recognizable name. The UDF
library location is most likely a location unique to your company, and is defined by your
administrator. The UDF library can be accessed from the Group Directory Common Folder,
which displays when appropriate.

Specify the storage option type. There are two types of storage options:

 Subordinate – Creates a reference to the original template model and automatically uses
the template model as a reference part to guide the UDF placement in the future. The
original model must be present for the subordinate UDF to function. If you make any
dimensional changes to the original model, they are automatically reflected in the UDF.

 Standalone – Does not reference the template model. It copies all the original model
information into the UDF file. If you make any changes to the original model, they are not
reflected in the UDF. When you create a standalone UDF, you have the option to create
a separate reference part. If created, the reference part has the same name as the UDF,
but with a “_GP” suffix.

Selecting Features to Include

Next, you must select the features to be placed in the UDF. The features must be sequential
in the model tree.
Defining Prompts

You must define a prompt for each reference created within the selected features. All
references from the features selected for the UDF require prompts. The prompts are
displayed for each original feature reference when placing a UDF to help you select a
corresponding reference in the target model. Therefore, the prompts you create for each
reference should be descriptive. Each reference is highlighted in the graphics window as you
define its prompt, as shown in Figure 2. If a reference was used to create more than one
feature, you are asked to create either Single or Multiple prompts for that reference.

Figure 2 – Highlighted Surface While Defining Prompts

 Single – Specifies a single prompt for the reference used in several features. When the
UDF is placed, the prompt appears only once, but the reference you select for this
prompt applies to all features in the group that use the same reference.

 Multiple – Specifies an individual prompt for each feature that uses this reference. If you
select Multiple, each feature using this reference is highlighted, so you can type a
different prompt for each feature.

Defining Variable Items

You can also define any variable items to be stored in the UDF. This is an optional step in
UDF creation. Variable dimensions provide a prompt for a dimension value upon placement.
Variable elements enable the feature's dashboard to be accessed during placement, to
redefine the feature for the current application. A family table enables you to create different
instances of the feature, with each instance containing different combinations of features,
dimensions, and parameters.

Modifying a UDF
When the UDF is complete, a *.gph file is saved to the current directory. You can edit a
defined UDF by selecting the Modify option in the UDF menu.

Procedure: Creating UDFs


Before you begin
Hide/Unhide

Training Files:

Download the training files using the button below, if you have not done so already.

Download

Procedure Setup:

1. To avoid naming conflicts, it is recommended you save your work, click File > Close until
no models display, then click File > Manage Session > Erase Not Displayed.

2. Click File > Manage Session > Set Working Directory and navigate to the
PTCU\CreoParametric3\Feature-Tools\Create_udf folder and click OK

3. Click File > Open and double-click CREATE_UDF.PRT.

Task 1. Create a UDF from a feature in a part model.

1. Enable only the following Datum Display types: .

2. Right-click Extrude 2 in the model tree and select Info > Reference Viewer.

3. In the Reference Viewer dialog box, notice that Extrude 2 references datum plane RIGHT
and Extrude 1.

4. Click the down arrow next to Extrude 1 and cursor over each of the surface references.

5. Notice that the top, flat surface and the circular surface are the two references on the model.
Figure 1

6. Click Close from the Reference Viewer.

7. In the ribbon, select the Tools tab.

8. Click UDF Library from the Utilities group.

9. Click Create from the menu manager.

10. Type keyway as the name and press ENTER.

11. In the menu manager, click Subordinate > Done > Add > Select.

12. Select Extrude 2 as the feature to add and click Done/Return.


Figure 2

13. Notice the top surface highlighted in red. This is the first required reference.

Figure 3

14. Notice the prompt for you to type the prompt for the surface.

15. Type sketching plane and press ENTER.

16. Notice datum plane highlighted in red. This is the second required reference.
Figure 4

17. Notice the prompt for you to type the prompt for the surface.

18. Type orientation reference plane and press ENTER.

19. Notice the cylindrical surface highlighted in red. This is the third required reference.

Figure 5

20. Notice the prompt for you to type the prompt for the surface.

21. Type cylinder surface and press ENTER.

22. Click Done/Return from the menu manager.

23. In the UDF dialog box, select Var Dims and click Define.

24. Zoom in on Extrude 2 and select the left (width) and right (length) 2 dimensions.

25. Click Done/Return > Done/Return from the menu manager.

26. Notice that the first dimension is highlighted.


Figure 6

27. Notice the prompt for you to type the prompt for the dimension.

28. Type key width and press ENTER.

29. Notice that the second dimension is highlighted.

Figure 7

30. Notice the prompt for you to type the prompt for the dimension.

31. Type key length and press ENTER.

32. Click OK in the UDF dialog box to complete the UDF creation.

This completes the procedure.


Exercise: Creating User-Defined Features
(UDFs)
Before you begin
Hide/Unhide

Training Files:

Download the training files using the button below, if you have not done so already.

Download

Procedure Setup:

1. To avoid naming conflicts, it is recommended you save your work, click File > Close until
no models display, then click File > Manage Session > Erase Not Displayed.

2. Click File > Manage Session > Set Working Directory and navigate to the
PTCU\CreoParametric3\Create_udf folder and click OK

3. Click File > Open and double-click SPLINE_UDF_TEMPLATE.PRT.

Objectives

Reuse designs by creating user-defined features.

You are assigned to create a spline end on the connector ends of the front engine block
where it interfaces with the rear engine block. Due to the large number of connector ends in
future models, use a generic connector end part to create a UDF.

Task 1. Create a UDF from the end spline of the


SPLINE_UDF_TEMPLATE.PRT.

1. Enable only the following Datum Display types: .

2. In the ribbon, select the Tools tab.

3. Click UDF Library from the Utilities group.


4. Click Create from the menu manager.

5. Type spline_end as the name and press ENTER.

6. Click Stand Alone > Done from the menu manager.

7. Click No in the Confirmation dialog box to not create a reference part.

8. Press CTRL and select the features in the model tree, as shown in the figure, to be included
in the UDF.

Figure 1

 All references from the features selected for the UDF require prompts.

9. Click Done > Done/Return from the menu manager.

10. Note the highlighted surface in the model.

Figure 2
11. Click Single > Done/Return from the menu manager.

12. Type end surface as the prompt and press ENTER.

 The end surface was used for both the hole and the cut.

13. Note the highlighted datum axis in the model.

Figure 3

14. Click Single > Done/Return from the menu manager.

15. Type axis as the prompt and press ENTER.

 The axis was used for both the hole and the angled datum plane.

16. Note the highlighted edge in the model.


Figure 4

17. Type end edge as the next prompt and press ENTER.

 The edge was used for the chamfer.

18. Note the highlighted datum plane in the model.


Figure 5

19. Click Single > Done/Return from the menu manager.

20. Type reference plane as the next prompt and press ENTER.

 The plane was used for the angled datum plane.

21. Note the highlighted surface in the model.

Figure 6

22. Type cylindrical surface as the next prompt and press ENTER.

 The surface was used as a reference for the cut.

23. Click Next and Previous from the menu manager to review the prompts you have typed in
and correct any prompts, if necessary.

24. Click Done/Return from the menu manager.

Task 2. Define optional UDF elements.


1. In the UDF dialog box, double-click Var Dims.

2. Select the 10.5 dimension (d15) that defines the length of the cuts.

Figure 7

3. Click Done/Return > Done/Return from the menu manager.

4. Type spline length as the prompt for this dimension and press ENTER.

5. In the UDF dialog box, double-click Var Elements.

6. Select END_CHAMFER from the model tree.

7. Click All > Done from the menu manager.

8. Click OK in the Select dialog box to complete selecting variable elements.

9. In the UDF dialog box, double-click Family Table.

10. In the Family Table dialog box, click Add Columns to add a column to the table.

11. In the Family Items dialog box, do the following:

 Select Feature.

 Select CTR_HOLE from the model tree.


 Click OK.

Figure 8

12. In the Family Table dialog box, do the following:

 Click Insert Instance twice to add two additional instances.

 Edit the values for the instance name and feature columns, as shown in the figure.

 Click OK.

Figure 9

13. Click OK in the UDF dialog box to save the UDF to your working directory.

14. Click Done/Return from the menu manager.


15. Click Save from the main toolbar and click OK to save the model.

16. Click File > Manage Session > Erase Current > Yes to erase the model from memory.

This completes the exercise.

Concept: Placing UDFs


Placing UDFs

If you recreate the same geometry regularly when creating your design models, it can be
more efficient to have the system create that geometry for you using UDFs. Creating
geometry by placing a pre-existing UDF can be much faster than creating it new each time.

Opening an Existing UDF (*.gph)

When placing a UDF, first you must open the target model. You can insert a UDF by clicking
User-Defined Feature from the Get Data group in the ribbon, and selecting the
corresponding *.gph file. The original template model is required when placing a subordinate
UDF. Creo Parametric provides the User Defined Feature Placement dialog box to enable
you to easily place UDFs in multiple models.

When you place a UDF, the system copies the features into the target model. The copied
features become a group. The resulting group of features created from a UDF can be
dependent or independent of the UDF.

Selecting Placement References for the Prompts

Next, you must select references in the target model for each prompt that was defined during
the creation of the UDF. When selecting the references, you can view the reference part in a
subwindow to help you select the correct references. As you select references, the UDF
preview placement dynamically updates in the graphics window.
Figure 1 – Viewing References on the Original UDF

Figure 2 – Selecting References for UDF Placement

Editing Variable Dimensions and Annotation Elements

You can edit any of the items defined as Variable Items during UDF creation. These include
Dimensions, Parameters, and any Annotation Element Items.

Specifying Options

Next, you can specify options, such as scaling dimensions upon placement. You can keep the
same dimension values or feature sizes, or specify a scaling factor for the features to be
placed. This enables you to scale the size of the UDF for different size models, or between
models of different units. Plus, you can specify whether you want to lock, unlock, or hide
dimensions of the elements that are not specified as variables in the UDF.

You also have the ability to redefine any features contained in the UDF on-the-fly. This
enables you to customize a UDF upon placement. After selecting features to redefine, you
must step the regeneration of the UDF back past the selected features, and then step forward
to regenerate them. After the selected UDF feature is regenerated, its dashboard appears,
enabling you to redefine it.

Adjusting Placement Orientation and Finishing Placement

Certain portions of UDFs, depending on what they are, can be oriented in one of two ways.
These items are displayed as Orientation Items in the Adjustments tab. You can select each
available Orientation Item and flip its orientation, watching the preview dynamically update. If
the placement is successful, a local group is created in the model tree. Items hidden in the
UDF remain in their hidden status when placed into the model.

Figure 3 – The Placed UDF

You can duplicate UDFs easily using the Copy and Paste tools.

Updating a Modified UDF

If you make the placed group of features independent of the UDF, then it results in all the
UDF information being copied to the target model as a group without any associative ties to
the UDF. If the UDF is modified, the copied group is not updated. However, if you establish a
dependency to the original UDF, then changes to the fixed dimensions of the UDF cause a
change to the group. You must manually update the group to the UDF change by clicking
UDF Operations > Update All from the Operations group drop-down menu and then
regenerating the model.

Procedure: Placing UDFs


Before you begin
Hide/Unhide

Training Files:

Download the training files using the button below, if you have not done so already.

Download

Procedure Setup:

1. To avoid naming conflicts, it is recommended you save your work, click File > Close until
no models display, then click File > Manage Session > Erase Not Displayed.

2. Click File > Manage Session > Set Working Directory and navigate to the
PTCU\CreoParametric3\Feature_Tools\Place_UDF folder and click OK

3. Click File > Open and double-click PLACE_UDF.PRT.

Task 1. Place a UDF for a keyway in a model.

1. Enable only the following Datum Display types: .

2. Click User-Defined Feature from the Get Data group.

 Select KEYWAY.GPH and click Open.

 Accept the default selection of Advanced reference configuration and click OK.

3. Notice that a reference model has been created for this UDF, and displays in a subwindow.

 Notice that the first required reference is highlighted in the subwindow, and placement
preview of the feature is shown in the main graphics window.

 Notice that Reference 1 is highlighted in the User Defined Feature Placement dialog box
and the description prompt reads sketching plane.

 Select a corresponding planar surface, as shown.


Figure 1

4. Select Reference 2 in the dialog box.

 Notice that this reference is highlighted in the subwindow.

 Notice that the description prompt reads orientation reference plane.

 Select a corresponding plane, as shown.


Figure 2

5. Select Reference 3 in the dialog box.

 Notice that this reference is highlighted in the subwindow.

 Also notice that the description prompt reads cylinder surface.

 Select a corresponding surface, as shown.

Figure 3

6. In the User Defined Feature Placement dialog box, select the Variables tab.

7. Edit the Value for the d5 dimension from 2.00 to 4.


Figure 4

8. In the User Defined Feature Placement dialog box, select the Adjustments tab.

9. In the User Defined Feature Placement dialog box, click Flip and then click Accept .

Figure 5

 For a more complex UDF, there may be multiple reference directions that can be flipped.
The system lists each reference direction in the dialog box, enabling you to flip/preview
each reference.

This completes the procedure.

Concept: Creating UDFs Using On-Surface


Coordinate Systems
Creating UDFs Using On-Surface Coordinate Systems

Figure 1 – UDF Features Referencing On-Surface Csys

The placement of a User-Defined Feature (UDF) gains some capabilities when the features
used to create the UDF reference is an on-surface coordinate system. Upon placement, the
UDF appears in a dynamic preview that can be dragged to locate the UDF. You can also
specify an additional rotation angle for the UDF.

Keep in mind the following regarding the on-surface Csys and UDFs:

 The features comprising the UDF should reference ONLY the on-surface Csys. They
should not have any parents other than the on-surface Csys in the model from which the
UDF is created. To simplify this, create three orthogonal datum planes through the on-
surface Csys to act as a set of “default datum planes.”

 If an on-surface Csys is included in the UDF features, the UDF setup requires prompt
creation only for the references of the Csys.

o When placing the UDF in this case, you can select references to place the on-
surface Csys in the destination model.
Figure 2 – Locating UDF On-Surface

 If an on-surface Csys is NOT included in the UDF features, the UDF setup requires the
creation of one prompt for the selection of a coordinate system.

o When placing the UDF in this case, you have the option to create an on-surface
Csys on-the-fly.

Figure 3 – Placing UDF on Alternate Surface

Procedure: Creating UDFs Using On-Surface


Coordinate Systems
Before you begin
Hide/Unhide
Training Files:

Download the training files using the button below, if you have not done so already.

Download

Procedure Setup:

1. To avoid naming conflicts, it is recommended you save your work, click File > Close until
no models display, then click File > Manage Session > Erase Not Displayed.

2. Click File > Manage Session > Set Working Directory and navigate to the
PTCU\CreoParametric3\Feature_Tools\UDF folder and click OK

3. Click File > Open and double-click CREATE_UDF.PRT.

Task 1. Create and place a UDF using an on-surface


coordinate system.

1. Enable only the following Datum Display types: .

2. Select CS0 from the model tree.

3. Right-click and select Edit.


Figure 1

 This in an on-surface Csys, and is the only parent to the geometry for the UDF.

4. Select the Tools tab and click UDF Library .

 Click Create, type UDF1 as the name, and press ENTER.

5. Click Stand Alone > Done > No.

6. Select CS0, press SHIFT, and select HOLE from the model tree.

Figure 2

7. Click Done > Done/Return.

8. Press ENTER, if necessary, to accept the default prompts.

9. Click Done/Return and OK.

10. Click Close from the Quick Access toolbar.

11. Click Open . Select PLACE_UDF.PRT and click Open.

12. Disable Csys Display .

13. Click User-Defined Feature from the Get Data group, select UDF1, and click Open.

14. Click OK and select a surface to place the on-surface Csys.


15. Drag the placement handles to the front and right surfaces, then position the UDF as shown.

Figure 3

16. Drag the additional rotation handle to approximately 90.

Figure 4

17. Select the Options tab.

 Scroll down and select the HOLE check box.


 Disable Auto Regeneration.

 Click First Feature and then Last Feature .

18. Enable Countersink from the dashboard.

 Disable Counterbore .

 Click Complete Feature .

19. Click Complete Feature to complete the UDF.

Figure 5

20. Click User-Defined Feature from the Get Data group, select UDF1, and click Open.

21. Click OK and select a surface to place the UDF.

22. Right-click and select Offset References. Press CTRL and select the top and right surfaces,
then position the UDF.
Figure 6

23. Select the Options tab.

 Select the Pattern 1 check box.

 Disable Auto Regeneration.

 Click First Feature and then Last Feature .

24. Edit the 5 quantity to 3 in the dashboard.

 Click Set Angular Extent .

 Click Complete Feature .

25. Click Complete Feature to complete the UDF.


Figure 7

26. Click Regenerate , if necessary.

This completes the procedure.

Exercise: Placing User-Defined Features


(UDFs)
Before you begin
Hide/Unhide

Training Files:

Download the training files using the button below, if you have not done so already.

Download

Procedure Setup:

1. To avoid naming conflicts, it is recommended you save your work, click File > Close until
no models display, then click File > Manage Session > Erase Not Displayed.

2. Click File > Manage Session > Set Working Directory and navigate to the
PTCU\CreoParametric3\Place_UDF_Ex folder and click OK
3. Click File > Open and double-click FINAL_GEAR_SHAFT_UDF.PRT.

Objectives

Reuse designs by inserting user-defined features.

You are assigned to create a spline end on the connector ends of the front engine block
where it interfaces with the rear engine block. Due to the large number of connector ends in
future models, you have already created a UDF. Insert the UDF on the connector ends of the
front engine block.

Task 1. Place the UDF on the Final Gear Shaft UDF


part.

1. Enable only the following Datum Display types: .

2. Click User-Defined Feature from the Get Data group.

3. In the Open dialog box, select SPLINE_END.GPH and click Open.

4. In the Select Instance dialog box, select the NO_HOLE instance and click Open.

5. In the Insert User-Defined Feature dialog box, accept the default selection of Advanced
reference configuration and click OK.

6. Click OK in the Information window.


Figure 1

7. In the User Defined Feature Placement dialog box, do the following:

 Select the Options tab and select Keep dimension values for Scaling.

 Clear the check box for redefining feature END_CHAMFER.

 Select the Placement tab.


Figure 2

8. In the User Defined Feature Placement dialog box, select EDGE (Reference 1) from the list of
original feature references.

9. Select the edge shown in the figure as the corresponding reference for End Edge.

Figure 3
10. In the User Defined Feature Placement dialog box, select AXIS (Reference 2) from the list of
original feature references.

11. Select datum axis A_2, shown in the figure, as the corresponding reference for Axis.

Figure 4

12. In the User Defined Feature Placement dialog box, select SURFACE (Reference 3) from the
list of original feature references.

13. Select datum plane FRONT shown in the figure as the corresponding reference for Reference
Plane.
Figure 5

14. In the User Defined Feature Placement dialog box, select SURFACE (Reference 4) from the
list of original feature references.

15. Select the surface shown in the figure as the corresponding reference for End Surface.

Figure 6
16. In the User Defined Feature Placement dialog box, select SURFACE (Reference 5) from the
list of original feature references.

17. Select the surface shown in the figure as the corresponding reference for Cylindrical Surface.

Figure 7

18. In the User Defined Feature Placement dialog box, select the Variables tab and type 15 as
the value for the d15 cut dimension.

 Click Accept .

Figure 8

19. Click Save from the Quick Access toolbar.


Figure 9

20. Click OK in the Save Object dialog box.

21. Click Close .

Task 2. Place the UDF on the Chuck UDF part.

1. Click Working Directory from the Navigator.

2. Double-click CHUCK_UDF.PRT from the Browser to open it.

3. Click User-Defined Feature from the Get Data group.

4. In the Open dialog box, select SPLINE_END.GPH and click Open.

5. In the Select Instance dialog box, select the NO_HOLE instance and click Open.

6. In the Insert User-Defined Feature dialog box, accept the default selection of Advanced
reference configuration and click OK.

7. Click OK in the Information window.


Figure 10

8. In the User Defined Feature Placement dialog box, do the following:

 Select the Options tab and select Keep dimension values for Scaling.

 Clear the check box for redefining feature END_CHAMFER.

 Select the Placement tab.


Figure 11

9. In the User Defined Feature Placement dialog box, select EDGE (Reference 1) from the list of
original feature references.

10. Select the edge shown in the figure as the corresponding reference for End Edge.

Figure 12

11. In the User Defined Feature Placement dialog box, select AXIS (Reference 2) from the list of
original feature references.

12. Select datum axis A_2, shown in the figure, as the corresponding reference for Axis.
Figure 13

13. In the User Defined Feature Placement dialog box, select SURFACE (Reference 3) from the
list of original feature references.

14. Select datum plane RIGHT shown in the figure as the corresponding reference for Reference
Plane.

Figure 14
15. In the User Defined Feature Placement dialog box, select SURFACE (Reference 4) from the
list of original feature references.

16. Select the surface shown in the figure as the corresponding reference for End Surface.

Figure 15

17. In the User Defined Feature Placement dialog box, select SURFACE (Reference 5) from the
list of original feature references.

18. Select the surface shown in the figure as the corresponding reference for Cylindrical Surface.
Figure 16

19. In the User Defined Feature Placement dialog box, select the Variables tab and type 20 as
the value for the d15 cut dimension.

 Click Accept .

Figure 17

 In both cases, the UDF is removing material. However, it is possible to have a UDF that
uses various features to add and remove material at the same time. Also, since a feature
tool such as Extrude can be used to create cuts or protrusions, it is possible to create a
UDF that can be toggled between Cut and Protrusion upon placement.

20. Click Save from the main toolbar.

Figure 18
21. Click OK in the Save Object dialog box.

22. Click Close .

Task 3. Place the UDF on the Engine Block Front part.

1. Click Working Directory from the Navigator.

2. Double-click ENG_BLOCK_FRONT.PRT from the Browser to open it.

Figure 19

3. Click User-Defined Feature from the Get Data group.

4. In the Open dialog box, select SPLINE_END.GPH and click Open.

5. In the Select Instance dialog box, select the HOLE instance and click Open.

6. In the Insert User-Defined Feature dialog box, accept the default selection of Advanced
reference configuration and click OK.

7. Click OK in the Information window.

8. In the User Defined Feature Placement dialog box, do the following:


 Select the Options tab.

 Select Scale by value for Scaling and type 0.33 as the Scaling factor.

 Select the Placement tab.

Figure 20

9. In the User Defined Feature Placement dialog box, select SURFACE (Reference 1) from the
list of original feature references.

10. Zoom in and select the surface shown in the figure as the corresponding reference for End
Surface.
Figure 21

11. In the User Defined Feature Placement dialog box, select AXIS (Reference 2) from the list of
original feature references.

12. Select datum axis A_1, shown in the figure, as the corresponding reference for Axis.

Figure 22

13. In the User Defined Feature Placement dialog box, select EDGE (Reference 3) from the list of
original feature references.
14. Select the edge shown in the figure as the corresponding reference for End Edge.

Figure 23

15. In the User Defined Feature Placement dialog box, select SURFACE (Reference 4) from the
list of original feature references.

16. Select datum plane DTM1, shown in the figure, as the corresponding reference for Reference
Plane.

Figure 24
17. In the User Defined Feature Placement dialog box, select SURFACE (Reference 5) from the
list of original feature references.

18. Select the surface shown in the figure as the corresponding reference for Cylindrical Surface.

Figure 25

19. In the User Defined Feature Placement dialog box, select the Variables tab and type 4 as the
value for the d15 cut dimension.

Figure 26

20. In the User Defined Feature Placement dialog box, clear the Auto Regeneration check box.
 Click First Feature .

 Click Last Feature .

21. Notice that you are now redefining the chamfer feature within the UDF.

22. In the dashboard, do the following:

 Change 45 x D to Angle x D from the Dimensioning Scheme drop-down list.

 Click Switch Surfaces .

 Type 30 as the angle value.

 Type 0.75 as the chamfer distance (D) value, as shown in the figure.

 Click Complete Feature .

Figure 27

23. Click Accept in the User Defined Feature Placement dialog box.

24. Click Save from the main toolbar.


Figure 28

25. Click OK in the Save Object dialog box.

26. Click Close .

27. Click File > Manage Session > Erase Not Displayed and click OK to erase all files from
memory.

This completes the exercise.

You might also like