Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi all,
I am having an issue with some UDF's I recently made and don't understand the what the issue is. We have hole udf's that contain relations for 1) being able to change the size once placed and 2) placing notes as to the operations tomachine the hole in the part. My issue is: there are several relations (NT and NT3 and GT and GT2 specifically) that mysteriously vanish from the UDF when it is placed. I have redone them twice now and I thought I would pose the question her before resuming to beat my head against the wall.
Specifically: the relations in a point for a hole:
IF SIZE=="GOOD_SIZE"
NT=DS+DRILL_STRING+" THRU; "
NT2=TAP+TAP_TYPE+" THRU "
GT="|"+TT+"|"+DS+" "+GTOL+" "
NT3=DS+EDRILL_STRING+" THRU; "
NT4=TAP+TAP_TYPE+" THRU "
GT2="|"+TT+"|"+DS+" "+ETOL+" "+RFS
ENDIF
IF SIZE=="BAD_SIZE"
NT="SIZE NOT VALID"
NT2=", PLEASE MODIFY"
GT="|"+TT+"|"+DS+" "+"0,0"+" "
ENDIF
are reduced to:
IF SIZE=="GOOD_SIZE"
NT2=TAP+TAP_TYPE+" THRU "
NT4=TAP+TAP_TYPE+" THRU "
ENDIF
IF SIZE=="BAD_SIZE"
NT="SIZE NOT VALID"
NT2=", PLEASE MODIFY"
GT="|"+TT+"|"+DS+" "+"0,0"+" "
ENDIF
in the UDF.
The relations are all good in the root part so I'm unsure why they would dissappear in the UDF.
Any Clues?
Note the files comtain the complete set of parameters and relations attached
Interestingly enough, there are no relations or parameters tied to the part, only the included features.
This ain't my first rodeo...
Thanks to Robert Hill, who saw that the actual hole in the udf did not match any of the default family table values driven by the UDF. After reseting the hole in the part to a matching value, all of the parameters and relations showed up.