Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic Update

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
Anonymous
908 Views, 9 Replies

iLogic Update

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....

9 REPLIES 9
Message 2 of 10
delineryan
in reply to: Anonymous

Shouldn't be a problem, can you post your parts and assembly?

 

Regards,

Please mark this response as "Accept as Solution" if it answers your question.
Message 3 of 10
Anonymous
in reply to: delineryan

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.

Message 4 of 10
Anonymous
in reply to: Anonymous

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?

Message 5 of 10
delineryan
in reply to: Anonymous

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.

Please mark this response as "Accept as Solution" if it answers your question.
Message 6 of 10
Anonymous
in reply to: delineryan

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?

Message 7 of 10
delineryan
in reply to: Anonymous

Try this,

 

I added some parameters with some logic.  The part files have not been changed.

 

Ryan

Please mark this response as "Accept as Solution" if it answers your question.
Message 8 of 10
Anonymous
in reply to: delineryan

I have no idea what you did but thank you.

It works!  I appreciate all your help.

Message 9 of 10
delineryan
in reply to: Anonymous

Haha, you need to understand how it did or I am not much help!

 

See pic.

2143i239246FE42302F6A

Please mark this response as "Accept as Solution" if it answers your question.
Message 10 of 10
Anonymous
in reply to: delineryan

Thanks Ryan.

I think I understand now.

Thanks alot.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report