iLogic and Design Automations
Preparing an Inventor Project for Automation
Files needed for automations. File names must match exactly.
QTY.iam - the quantity assembly for the model
Base.iam - the "single unit" assembly for the model. Even if the model is a single part, it must be placed into a "base" assembly.
Structured.dwg - the structured drawing set for the model
Parts.dwg - the parts drawing set for the model
Customer.dwg - the customer approval drawing set. Whenever possible, use the first several pages from the "structured" drawing.
only required for automations that get sent to customers for approval
2D.dwg - a drawing showing the "base" assembly with all views needed for 2D CAD export
only required for automations where 2D CAD export is useful
Preparing the drawings
Arrange all dimensions on all sheets - use the “ArrangeAllDimensions” macro
Run the “PlaceViews” macro on each sheet
Save your model and drawings in the most complex state possible (eg. longest, widest, most members, etc.). The automations software can remove "extra" dimensions and sheets, but cannot add more details.
Give the location of your Inventor workspace to the Automations team
Automations team tasks:
Create an item code
Verify input parameters with model creators
Verify that all drawings and models function as expected
Export the files with the item code as the prefix, including an underscore ("_") after the item code
To update existing automated drawings, replace the files saved in "Z:\Engineering\14 Automation and Programming\00 Automation Source Files"
Basic iLogic Knowledge
Using iLogic Forms
Using iLogic in Parts
Basic VB.Net and iLogic Functions
Using iLogic in Assemblies
Easy iLogic
VB.Net and iLogic Functions
Select....Case and Multi-Value Parameters
Using iLogic
Using iLogic Snippets (MessageBox)
What Makes an iLogic Rule Run?
Adding iLogic Rules as Buttons to Your iLogic Form
Stabilizing Browser Nodes
Intermediate iLogic
VB.Net and iLogic Functions
Introduction to Objects
Creating Subroutines
Creating Functions
Debugging with MessageBox
Try...Catch
For Loops
While Loops
Using iLogic
Changing iProperty Values
Parts: Turning Features On and Off
Assemblies: Replacing Components
Assemblies: Deleting Components
Assemblies: Adding Components
Assemblies: Changing the Color of Parts in an Assembly
Parts: Changing the Color of a Part
Advanced iLogic
VB.Net and iLogic Functions
Variable Type Casting
Creating Objects (classes)
Finding Parameters by Name
Function and Subroutine Documentation Comments
Using iLogic
Adding Parameters with code
Parts: Changing Sheet Metal Thickness
Parts: Changing Material
Assemblies: Using the RuleParametersOutput() method
Assemblies: Changing Constraints
Assemblies: Adding Patterns
Model States: Keeping Parameter Values when Switching Model States