I have a problem with the updating of parts using 'rules'
I have "Part A" and "Part B" in an Assembly where I have created rules to change the properties (quantity, length...) of "Part A" and "Part B" in the assembly.
When I update the the fields in the parameters dialog that drive these rules, only "Part A" rules update and make the model correct. In order to get "Part B" to update correctly I have to open the edit rule dialog and close it. Once I do so the update button comes up. I click on update and the model is now correct. I can select rebuild all and it does not update the model.
Why do I need to go through all these steps to update "Part B"? Am I missing something?
Any insight would be appreciated....
Solved! Go to Solution.
Solved by delineryan. Go to Solution.
Solved by delineryan. Go to Solution.
Solved by delineryan. Go to Solution.
Shouldn't be a problem, can you post your parts and assembly?
Regards,
open the assembly and parameter dialog. change the height and accept.
if i am thinking right it should all update correctly after that is selected but only the one part does until you select regenerate all rules.
also in two of the rules ... XQTYCALC and XQTY ... i have the rule
...XQTYCALC <= 0.5...
...YQTYCALC <= 0.5...
The "0" in this rule needs to be a variable number, but I do not know how to show that. Any clue?
This works, I changed your last two rules, they were calling a parameter from the model, you were pushing the same parameter in another rule so I just got the parameters (Height and Dia) from the assembly.
I don't quite understand your second question.
Try it and let me know, you should just need to take the assembly from the zip file, I didn't change the parts.
Thanks alot. I appreciate your help.
As for the second question....
In a rule, I am dividing one parameter by another. which returns a decimal solution. say... 10.2546 or 8.6784
I need to create a rule that says if the numbers after the decimal are greater than or equal to 0.5000 the solution needs to be increased by 1.0000.
The rule would look something like ...
IF 'decimalnumber' >= ?.5000 THEN d0 = 'decimalnumber' + 1
The "?" representing a variable number that could be 0,1,2,3.....etc.
Does this make sense?
Try this,
I added some parameters with some logic. The part files have not been changed.
Ryan
I have no idea what you did but thank you.
It works! I appreciate all your help.
Haha, you need to understand how it did or I am not much help!
See pic.