iLogic Coding for the Face Frame Count
The iLogic code for what we need to do in today’s post in this Blogtorial Series is relatively simple. The code will use the state of the Multi-Value parameter Intermediate_Rail_Count count to suppress or unsuppress the features that make up the solid bodies that represent the rails of our face frame.
In the iLogic browser, Double-click on the Main Rule. We have already used this parameter to define the spacing of the sketch geometry, so some of the work is done already. All we need to do is add the suppression information to the If, Else If statements already present.
So-far, each rail is comprised of two features. Because Inventor does not allow the suppression of an entire Solid Body, we will need to suppress both features for each solid. If any more features are added or subtracted later, we will need to include/exclude them from the code as well or we will get an error.

I left off in the
When writing iLogic code in Autodesk Inventor, you need to test the code constantly to assure that it is behaving as expected in your model. Some of what is happening would normally be hidden from view. The answer to that problem is to have a semi-transparent model while testing. Here’s how to do it….





