Create iLogic Parameters
Most of the parameters have been named in the parameter editor already. It is good practice to name your parameters for future reference when creating a parametric design. Parameters with meaningful names make the rules that drive or reference them easier to read and understand.
Keep in mind that parameter names in iLogic are case sensitive. Please be sure to follow the case being used in the parameter editor, and while creating rules.
Create Port Size Parameters
First, we need a set of parameters to control the size of 3 ports on our manifold block.
If you need more details on the exact steps needed to create a new iLogic parameter, please revisit the Basic Tutorial. It covers these steps in greater detail. Remember that you can cut and paste the values above to set the values for the multi-value list.
Finally, make port_a_size a key parameter.
Create two more parameters, named port_b_size and port_c_size with the same settings and multi-value lists. Set both of these as Key parameters. You should now have the following key parameters:
Creating Block and Component Type iLogic Parameters
Now, we need to create two more iLogic parameters, which will control whether we are modeling a “tee” block or an “elbow” block, and also whether we are creating a standard or a custom block.
First, create a new parameter named “block”. Make this be a String type parameter. Make it a multi-value parameter, with the values:
Set the current value to be “tee”, and make this a key iLogic parameter.
Create a second iLogic parameter, named “component_type”. Make this a String parameter also, and make it a multi-value parameter, with the values:
Set the current value to be “standard”, and make this a key parameter. Now, you should have the following key parameters:
Click Done at this point to exit the iLogic Parameter Editor.This would be a good time to save your document, before we move on to creating rules…
iLogic Introduction Tutorial Links