Skip to main content
14-Alexandrite
November 12, 2014
Question

ABOUT UDF'S

  • November 12, 2014
  • 1 reply
  • 2880 views

hello,

is it possible to create an udf that changes as the principal model?

let me explain: i have a pipe and, in the end of it, i want to use an udf to add a countersink.

this countersink changes with the dimension and thickness of the pipe.

is it possible?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

1 reply

2-Explorer
November 12, 2014

Hello Christian,

l think itยดs a problem about refernece selection. You have to know what you want, than create en UDF. l prepared an example for you. Please see attached file:

There are 3 featers:

1. PIPE - extrude feater for modifications (try to edit and see next 2 revolts featers what they do)

2. DYNAMIC - revolte feater that works with modified pipe diameter and wall thickeness

3. STATIC - revolte feater that is OK in "start" dimmensions, but with PIPE modifications it starts to be a mess.

l think something like DYNAMIC feater is what are you looking for.

Hope it help

Regards

Milan

cspinelli14-AlexandriteAuthor
14-Alexandrite
November 13, 2014

thanks, but i meant another question, as seen in the image attached.

i have a pipe diameter 6 thickness 1 and i added a countersink with an udf.

i want to be able that, if i change the diameter or thickness of the pipe, automatically changes the udf

svasatura.jpg

21-Topaz II
November 13, 2014

From what I see here, I don't understand why you used a UDF in the first place. I always look on UDF functionality as a "I have to do this dozens of times and it is incredibly tedious" tool. What you show here looks like a simple revolved feature, but maybe I'm just jumping to conclusions.

Either way, what you should probably look into is using relations to set the dimensions of the countersink. You use the dimension that defines the pipe diameter (inner, outer, both) and use calculate the countersink dimensions based upon whatever criteria you would use to hand calculate it.