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

Parameters and Relationsto be embedded in UDF

JoeVarghese
1-Newbie

Parameters and Relationsto be embedded in UDF

Hi, I have two models. Both have some parameters and relations to control the features. If I create a UDF from Model-1, all the parameters and all the necessary relations are copied along with udf. So when I paste the UDF in a blank part, I have all the parameters and relations available. This is good. In Model-2, When I create udf, very few parameters are getting copied and none of the relations are getting copied. This results in the failure of the features when pasted. This is not what I want. Its almost a day that I am trying to figure out why this behaves differently.. Everything like UNITS, ACCURACY etc are same in model-1 and 2. Does anybody know, why proe behaves differently in these two cases? What are the logics by which proe embed parameters and relations in UDF? NOTE: The behaviour is exactly the same when I try "COPY - PASTE SPECIAL". works in Model-1, but not in Model-2 Any help would really be appriciated.. Thanks JOE
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.
3 REPLIES 3

Ohh.. I got the solution at last..., or at least I thought so... Its an improvemnt but not fully solved. I'm Using Proe Wildfire 2, M250. This improvement came from a seemingly harmless area!! There is a toggle button in the Relations window named "set relations to be sensitive to the units of parameters and dimensions". Or u can do that by menu option, UTILITIES -> UNIT SENSITIVE. I never thought that it would come into picture unless we deal with different units system!! If that is selected, the the feature relations are getting carried over. But still not the part relations which are needed for eveluating the derived parameters. Improvement with this: ---------------------- 1) Now, all the parameters are getting created in the new part with its original value. 2) Feature Relations seems to be getting carried over. Still not solved: ----------------- 1) Part relations that are needed for the used parameters are not getting carried over and hence some features are failing. 2) On odd occation (not known why) feature relations are not getting carried over.. I feel there is something that need to be set properly for all the things to work as it does for my first part. Hope this post may help someone in similar troubled waters AND hope that someone out there has a solution to the problems I still have !!! Or am I taking out loud on the hill side The following TPI deals with a similar problem and thats where I got a clue.. https://www.ptc.com/appserver/cs/view/solution.jsp?n=/136354.htm Thanks anyway JOE.

One more day of regressive trials... I have couple of updates.. 1) Combined with UNITE SENSITIVITY, you need to define all the parameters in relation. That means, instead of assigning values in parameters window, you define values as relations in relations window. This way, all the parameters will be carried over. 2) But still, although the parameters are created, the relations were not there when I paste the UDF. The problem was in a set of slightly complex relations, which involved SOLVE functions and all.. When I removed that, the relations are getting carried over. But still the jury is out about the cause of this - Is it because the relations are too complex or Is it because of some errors with the relation itself -. I dont think the latter is the case, as its working fine in the Model. Other than this, I still have some other issue. I will post it in a new thread. Regards Joe

Since I have not received any response, :)- , Let me have some concluding remarks as well.... I have pin pointed the final problem.. that was the Solve-For function that I have used in the relation. Let me consolidating the finding.... These are valid for both UDF and for "Copy-Paste Special" A)

anonymous wrote:

There is a toggle button in the Relations window named "set relations to be sensitive to the units of parameters and dimensions". Or u can do that by menu option, UTILITIES -> UNIT SENSITIVE.

Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.