Have you ever wanted to be able to verify model or drawing settings to match an exact method or standard in Inventor. Check out this example of iLogic code from Inventor being utilized by Tata Technologies’ i CHECK IT standards checking software. This new addition to i CHECK IT technology will let users define precisely what they want to check or modify through a hybrid standards checking and automation interface. Please contact us at autodesk@tatatechnologies.com for additional details and capabilities.
When using iLogic our imagination is one of the few limits of the functionality. Today I take a look at using select case in a very simple fashion. You can use these same ideas to test multiple variations within your design. The case structure lets you choose between more than two alternatives. Let’s take a look at my example.
I am going to take a look at writing a rule within iLogic that is going to allow me to control minimum and maxium values for a given parameter. The best part is I can take advantage of the rules wizard found within iLogic to basically write the rule for me.
If you have been using iLogic or thinking about adding the functionality into your Autodesk Inventor usage you need to be aware of event triggers within iLogic.
Event triggers allow you to run rules based on specific events that occur in Inventor documents (parts, assemblies, or drawings). You choose an event and the rules to trigger for that event. You can select rules within the document and external rules.
Several types of document events can be used to trigger rules:
When a new document is created.
After a document is opened.
Before a document is saved.
After a document is saved.
Before a document closes.
When any model parameter is changed.
When an iProperty is changed.
When the feature of a part is suppressed or unsuppressed.
When the geometry of a part is changed.
When the material of a part is changed.
When a component of an assembly is suppressed or unsuppressed.
When a component of an iPart or iAssembly is changed.
You might be asking what is iLogic; iLogic enables rules-driven design, providing a simple way to capture and reuse your work. Use iLogic to standardize and automate design processes and configure your virtual products. In this example I use iLogic for more than just driving my model in the most simple way, I use the functionality to quickly generate pricing for my design. I am going to take you through an overview and the rules I used to accomplish this task.