User parameter corrupted on value change

User parameter corrupted on value change

newwdlesEFJ9Z
Participant Participant
595 Views
2 Replies
Message 1 of 3

User parameter corrupted on value change

newwdlesEFJ9Z
Participant
Participant

Hello,

 

I have a strange problem with a user parameter, whenever i change the value of the parameter, the dimensions that are using it gets corrupted. Here's the complete description :

- The current of the parameter value is 30 mm, it is used in multiple dimensions (only one showed here)

newwdlesEFJ9Z_0-1596898062746.png

(the name of the parameter is 'outputDiametreInterieur', an horrible mix of french/english ...)

-  As soon as i change the value, i have warning all over the place :

newwdlesEFJ9Z_1-1596898187142.png

- The dimensions using this parameter goes to red :

newwdlesEFJ9Z_2-1596898212612.png

(well, actually here violet because it is also selected)

- If i go back to the original value all the warnings goes away and everything is back to normal

- With anything other than 30 mm, i cannot even change the dimensions (for example to set a constant value), the change are discarded when i press enter and the dimensions goes back to the old value

- In the "Parameters" window everything works fine

 

I'm on macos catalina 10.15.5 (maybe i have worked on my pc (windows 10) at the begining but most of the design was done on the mac), i have attached the design and log files.

 

Any help appreciated,

Regards

0 Likes
Accepted solutions (1)
596 Views
2 Replies
Replies (2)
Message 2 of 3

jeff_strater
Community Manager
Community Manager
Accepted solution

there is nothing corrupt here.  Some geometry in your sketch in the state where the value is 30mm is "overconstrained but consistent".  Meaning that the dimensions and constraints all agree on the result, but some changes will cause solve failure.  In this case, the source of the problem is the coincident constraint, as shown in the error message:

Screen Shot 2020-08-08 at 10.00.33 AM.png

 

if you delete this constraint, you can correctly change that parameter:

Screen Shot 2020-08-08 at 10.02.39 AM.png


Jeff Strater
Engineering Director
0 Likes
Message 3 of 3

newwdlesEFJ9Z
Participant
Participant

Indeed !

 

My bad, did not see the faulty coincident constraint.

Thank you very much !

0 Likes