So, where do we begin?
First we need to understand the basics of how to drive the shape of an Inventor model through model and user parameters.
When you start dimensioning a sketch, you will notice it automatically puts a letter and number next to Edit Dimension which starts from d0, d1, d2 etc. These are called model parameters.
When prepping the sketches and features for iLogic programing, we want the names to have meaning as d0 and d1 are not very descriptive. So let’s give it a description.
We can do this one of 2 ways, either typing it in the dialog box.
Or, if you have already typed in the value (1000) without putting in a parameter name and would like to change the parameter name, you can open the parameters dialog box and change the default parameter (d0) to something that is more recognisable.
You can find this under the Manage tab.
(Please note that you cannot have spaces between words. You will need to use an underscore and also take note that the parameter name is case sensitive.)
We can make this model parameter into a multi-value. (This will allow us to drive the model with iLogic using pre-set values for the length of the table.)
Right click anywhere on the line item and click on Make Multi-Value. In the Value List Editor you can add the additional values you want to choose when driving your iLogic model and then click add.
Below are the added values.
Now, if you look at the Parameters dialogue box, you will see a drop down arrow next to 1000mm. If you click on it you will see the rest of the values that we inserted.
What this means is that for the length_of_table_top parameter we can only have those values that we have inserted as our multi-value.
The second way to drive the dimensions is to insert user parameters.
These can be obtained in a number of ways.
Inputting it directly into the parameters dialog box will allow us to insert 3 different types of parameters.
You can also link in user parameters from another Inventor file or an Excel spreadsheet.
I am going to import user parameters from another part file. This file will be the basis for skeletal modelling. (This is for another post.)
To link the user parameter with a newly created dimension, select the arrow next to the text and click on List Parameters.
After choosing width_of_table, this dimension will now be driven by the user parameter imported from the Inventor file.
You can also insert equations into the parameter fields and drive the model through one or maybe two parameters. Just remember BODMAS 😉
We can now extrude the table top and add a material.
We are now ready to drive this table through iLogic by choosing what the length is. It will automatically choose the width and also specify between two or maybe three different material types.
Next up: To iLogic or not to iLogic – If….then….end if
Aldred, the Mad Hatter