cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

What is the use of User defined feature or UDF?

sbhattacharya-2
3-Newcomer

What is the use of User defined feature or UDF?

Dear Creo Users,

I have been thinking about the user defined feature or udf option in Creo. I have used it in making a hole and using the same hole in other parts with same reference but dimension changed. But I would like to know the practical application or significance of using UDF. Any help will be highly appreciated.

With regards,

Soumya Bhattacharya

ACCEPTED SOLUTION

Accepted Solutions
Kevin
12-Amethyst
(To:Kevin)

A simple example to start with for a spline is to extrude a cut and pattern it around the axis of a shaft. Once you have the features created go to the Tools tab and select UDF Library in the Utilities section. When you select Create Creo will ask you to specify a name, whether you want the UDF to be stand alone or subordinate, stand alone will ask if you want to include reference part, select features to be part of the UDF, specify reference prompts, and specify optional items. When you select OK if you have made the UDF subordinate it will save the model, this model is required in order to use the UDF. If you have made it stand alone with include reference model it saves a model file with the name UDF-name_GP.prt where UDF-name is name for the UDF you specify during creation of the UDF, the part file is needed so you can view the reference model when you are selecting references. However, it is not required for the stand alone UDF to work, if you were to delete the file the UDF still works you just wouldn't be able to view the reference model during reference selection for UDF placement. The reference prompts are for any references that were specified for creating the features that are part of the UDF. For an axis pattern of the splines you have an Axis prompt, for the extrude cut you have the Placement Plane and two Orientation Planes which correspond to the references used to setup the extrude sketch, and you also might have other references if they were specified during feature creation such as the shaft surface.

View solution in original post

4 REPLIES 4

Hello,

Have you looked at the help provided with Creo, it could give you a good overview about this.

‌An example of a UDF would be something that you have use for over and over in other models. Some examples might be gear teeth and splines on the end of a shaft.

Any good examples of how to create an UDF in an appropriate way will be very helpful to me.

Kevin
12-Amethyst
(To:Kevin)

A simple example to start with for a spline is to extrude a cut and pattern it around the axis of a shaft. Once you have the features created go to the Tools tab and select UDF Library in the Utilities section. When you select Create Creo will ask you to specify a name, whether you want the UDF to be stand alone or subordinate, stand alone will ask if you want to include reference part, select features to be part of the UDF, specify reference prompts, and specify optional items. When you select OK if you have made the UDF subordinate it will save the model, this model is required in order to use the UDF. If you have made it stand alone with include reference model it saves a model file with the name UDF-name_GP.prt where UDF-name is name for the UDF you specify during creation of the UDF, the part file is needed so you can view the reference model when you are selecting references. However, it is not required for the stand alone UDF to work, if you were to delete the file the UDF still works you just wouldn't be able to view the reference model during reference selection for UDF placement. The reference prompts are for any references that were specified for creating the features that are part of the UDF. For an axis pattern of the splines you have an Axis prompt, for the extrude cut you have the Placement Plane and two Orientation Planes which correspond to the references used to setup the extrude sketch, and you also might have other references if they were specified during feature creation such as the shaft surface.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags