iLogic Rules

iLogic Rules

timothy_berg
Advocate Advocate
596 Views
5 Replies
Message 1 of 6

iLogic Rules

timothy_berg
Advocate
Advocate

Is there a way to put a rule in an assembly and have it run in the parts? For example i created a rule after the parts and the assembly were created can i put the rule into the assembly and "push" it into the parts?

0 Likes
Accepted solutions (1)
597 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

What you can do is copy the rule into the Part file and then create a rule in the Assembly file to Run the rule in the part file. I would suggest turning off the auto-run rule in the part file rule.

0 Likes
Message 3 of 6

timothy_berg
Advocate
Advocate

Thanks for the response although I think i didn't explain the question clearly, please forgive me, let me try this again.

 

As i create new rules is there anyway to globally place the rules into the parts/assy that were created before the rule was created? Or do i have to open every part/assy i want the rule in and paste the rule into the part?

0 Likes
Message 4 of 6

Mark.Lancaster
Consultant
Consultant

Check out the iLogic Code Injector and that interface should allow you to copy code to existing Inventor files.

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes
Message 5 of 6

timothy_berg
Advocate
Advocate

Thanks Mark that partially worked the tool did place the rule into the part file but for some reason it gave me this error "Unable to create the Event Triggers property for this file!", any suggestions?

event trigger not set.PNG

 

0 Likes
Message 6 of 6

Mark.Lancaster
Consultant
Consultant
Accepted solution

timothy.berg:  I've never used that program befpre so I wouldn't know why it would throw that message.   I assume you were setting a trigger when you injected the code.  Try different ones for a test and see what results you get.   Also it hasn't been updated in 3 years, so maybe the latest versions of Inventor have a problem with it.

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes