& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Edit iLogic rules to configure a wheel assembly.
Type:
Tutorial
Length:
5 min.
Tutorial resources
These downloadable resources will be used to complete this tutorial:
Transcript
00:03
In Inventor, you can use iLogic to standardize and automate design processes and configure your virtual products.
00:11
In this tutorial, you edit iLogic rules to configure a wheel assembly.
00:17
To start, from the Quick Access Toolbar, click Projects.
00:21
In the Projects dialog, click Browse, navigate to where the project files are saved and select Wheel Assembly start data set.ipj,
00:31
and then click Open.
00:33
In the Projects dialog, click Done.
00:37
From the Quick Access Toolbar, click Open.
00:41
Select WheelAssembly.iam, and then click Open.
00:46
You can now activate the iLogic Browser.
00:50
On the ribbon, the Manage tab, iLogic panel, select iLogic Browser.
00:56
Notice that a few rules have already been created in the iLogic Browser.
01:02
You can edit these rules, but first, add a new parameter.
01:07
On the ribbon, Manage tab, Manage panel, select Parameters.
01:14
In the Parameters dialog, from the Add drop-down, select Add True/False.
01:22
Name the parameter “Slot”, and then set the Equation to False.
01:28
Enable the Key option to set this to be a Key Parameter.
01:33
Click Done.
01:36
In the iLogic Browser, double-click the WheelConfig rule to edit it.
01:41
In the Edit window, click below the ‘Slot? Note, line 8, to begin defining a new rule.
01:49
This rule will add a slot feature option for the wheel spokes.
01:52
In the Snippets pane, on the System tab, expand the Features folder, and then double-click IsActive to add the logic to the window.
02:02
You can add information to this snippet.
02:06
Copy the wheelOcc definition from the existing snippet, and then paste it in line with the new snippet,
02:13
ensuring a comma and space are used to separate the text.
02:17
Highlight the featurename text, and in the Model tab, expand the wheel part entry and in the features list, select the SpokeSlot feature.
02:30
To the right, select the Names tab, and then double-click SpokeSlot to ensure the correct reference is inserted.
02:38
Add an equal sign (=) to the end of the snippet text.
02:43
From the Model tab, select User Parameters, to the right, select the Parameters tab.
02:54
From the Parameters tab, double-click the Slot parameter to insert it.
02:59
Click Save, and then Close to complete the rule edit and close the dialog.
03:05
Next, In the iLogic Browser, double-click the PricingRule rule to edit it.
03:12
Place your cursor at the beginning of the Edit window, and then insert the start of an if-then statement by selecting it from the drop-down.
03:23
Double-click to Hhighlight the My_Expression logic.
03:28
From the Model tab, select User Parameters, and then from the Parameters tab, double-click the Slot parameter to replace the definition.
03:37
Update the If statement by typing =True after the parameter.
03:46
Move your cursor to the end of the string, press ENTER, and type SlotPrice = 75 to start the Then statement.
03:58
Press ENTER, and then type Else.
04:03
Press ENTER again, and type SlotPrice = 0.
04:11
Finish the rule by inserting the text SlotPrice into the price definition, so that it reads as:
04:18
WheelPriceValue = WheelSizePrice+SlotPrice+SpokePrice.
04:26
Click Save then Close to complete the rule and exit the dialog.
04:31
Save your project.
Video transcript
00:03
In Inventor, you can use iLogic to standardize and automate design processes and configure your virtual products.
00:11
In this tutorial, you edit iLogic rules to configure a wheel assembly.
00:17
To start, from the Quick Access Toolbar, click Projects.
00:21
In the Projects dialog, click Browse, navigate to where the project files are saved and select Wheel Assembly start data set.ipj,
00:31
and then click Open.
00:33
In the Projects dialog, click Done.
00:37
From the Quick Access Toolbar, click Open.
00:41
Select WheelAssembly.iam, and then click Open.
00:46
You can now activate the iLogic Browser.
00:50
On the ribbon, the Manage tab, iLogic panel, select iLogic Browser.
00:56
Notice that a few rules have already been created in the iLogic Browser.
01:02
You can edit these rules, but first, add a new parameter.
01:07
On the ribbon, Manage tab, Manage panel, select Parameters.
01:14
In the Parameters dialog, from the Add drop-down, select Add True/False.
01:22
Name the parameter “Slot”, and then set the Equation to False.
01:28
Enable the Key option to set this to be a Key Parameter.
01:33
Click Done.
01:36
In the iLogic Browser, double-click the WheelConfig rule to edit it.
01:41
In the Edit window, click below the ‘Slot? Note, line 8, to begin defining a new rule.
01:49
This rule will add a slot feature option for the wheel spokes.
01:52
In the Snippets pane, on the System tab, expand the Features folder, and then double-click IsActive to add the logic to the window.
02:02
You can add information to this snippet.
02:06
Copy the wheelOcc definition from the existing snippet, and then paste it in line with the new snippet,
02:13
ensuring a comma and space are used to separate the text.
02:17
Highlight the featurename text, and in the Model tab, expand the wheel part entry and in the features list, select the SpokeSlot feature.
02:30
To the right, select the Names tab, and then double-click SpokeSlot to ensure the correct reference is inserted.
02:38
Add an equal sign (=) to the end of the snippet text.
02:43
From the Model tab, select User Parameters, to the right, select the Parameters tab.
02:54
From the Parameters tab, double-click the Slot parameter to insert it.
02:59
Click Save, and then Close to complete the rule edit and close the dialog.
03:05
Next, In the iLogic Browser, double-click the PricingRule rule to edit it.
03:12
Place your cursor at the beginning of the Edit window, and then insert the start of an if-then statement by selecting it from the drop-down.
03:23
Double-click to Hhighlight the My_Expression logic.
03:28
From the Model tab, select User Parameters, and then from the Parameters tab, double-click the Slot parameter to replace the definition.
03:37
Update the If statement by typing =True after the parameter.
03:46
Move your cursor to the end of the string, press ENTER, and type SlotPrice = 75 to start the Then statement.
03:58
Press ENTER, and then type Else.
04:03
Press ENTER again, and type SlotPrice = 0.
04:11
Finish the rule by inserting the text SlotPrice into the price definition, so that it reads as:
04:18
WheelPriceValue = WheelSizePrice+SlotPrice+SpokePrice.
04:26
Click Save then Close to complete the rule and exit the dialog.
04:31
Save your project.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Sign in for the best experience
Save your progress
Get access to courses
Receive personalized recommendations
May we collect and use your data?
Learn more about the Third Party Services we use and our Privacy Statement.May we collect and use your data to tailor your experience?
Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.