& 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
Inform design uses rules created from code blocks to govern the input values and options that control the informed design form.
Type:
Tutorial
Length:
5 min.
Transcript
00:03
Informed design uses rules created from code blocks
00:07
to govern the input values and options that control the informed design form.
00:12
These code blocks are accessed from the product definition under the rules tab
00:18
the logic within the code blocks constrain the values and options such that it
00:23
is only possible to enter valid values or valid combinations of values and options
00:29
that together define valid manufactural product variants.
00:35
The product definition automatically lists the
00:38
inventor user parameters in the parameters tab
00:43
within this tab,
00:45
you can choose which inventor parameters to adopt as informed design parameters.
00:51
The order the parameters are listed is the same order in which the parameters
00:55
are displayed in the informed design input form found in the rules tab.
01:02
The parameters list can be filtered by all model
01:06
user
01:08
key
01:10
as well as selected
01:12
in the rules tab
01:14
code blocks for parameters containing a list
01:17
are automatically added to the rule.
01:20
The informed design code block library contains a
01:24
rich set of code blocks of various categories to
01:27
allow you to build robust logic rules to
01:30
govern the design intent of your inventor model.
01:33
These include logic blocks to allow the creation of conditional statements
01:38
loop blocks to allow the iteration of code
01:43
mathematical blocks to assist with calculations.
01:46
A large collection of text blocks,
01:50
list blocks for working with collections
01:53
variables which are user created containers to hold data
01:57
functions which can be created to be reused to perform common tasks within your rule
02:04
and parameters which are adopted from the inventor model.
02:09
You can create local variables to do intermediate
02:12
calculations such as a conversion from feet to inches
02:17
here.
02:18
This is done by employing the code blocks from the
02:20
math category to multiply the parameter by a value of 12
02:27
with code blocks, you can create a conditional if do rule statement
02:32
to govern the minimum value of an adopted inventor user parameter.
02:37
Here.
02:37
The logic is created to check that the opening width parameter is not less than 16.
02:43
When an input value of less than 16 is detected,
02:47
the logic resets the parameter to 16 to maintain the minimum allowable value
02:55
to govern the maximum value of the opening width.
02:58
A variable called max opening width
03:01
is created to perform an intermediate calculation
03:04
to calculate that the maximum is the wall length minus nine
03:11
blocks are pulled from the code block library and arranged to
03:14
create the logic or equation to match the intended rule logic.
03:20
Snapping the blocks together
03:22
is as easy as dragging and dropping the puzzle piece ends to fit
03:28
next.
03:29
Logic is created to check that the opening
03:32
width parameter does not exceed the maximum opening width
03:36
as calculated by the previously created variable.
03:44
This is done by employing the conditional if do code block statement
03:57
once complete,
03:58
the code blocks are snapped together by simply dragging and dropping.
04:03
In order to tidy up the code block rule space.
04:06
To test the code block logic.
04:08
You can use the informed design form and enter
04:11
values that are below the specified minimum and maximum values
04:17
to see the inventor model update. Click the set model values button
04:23
testing the maximum value of the opening width seems to return an unexpected value
04:28
as the opening width exceeds the length of the wall in inches.
04:34
A quick review of the code block identifies the error,
04:38
updating the code block and retesting using the form.
04:42
And the set model values button
04:44
confirms the fix.
04:49
In summary.
04:50
The code block library contains code blocks of various categories
04:55
to allow the creation of product definition logic rules.
04:59
You can create min max logic to govern the
05:02
form inputs to maintain the design intent of the
05:05
inventor model conditional logic statements can be created with
05:09
if do code blocks to govern inputs and options.
Video transcript
00:03
Informed design uses rules created from code blocks
00:07
to govern the input values and options that control the informed design form.
00:12
These code blocks are accessed from the product definition under the rules tab
00:18
the logic within the code blocks constrain the values and options such that it
00:23
is only possible to enter valid values or valid combinations of values and options
00:29
that together define valid manufactural product variants.
00:35
The product definition automatically lists the
00:38
inventor user parameters in the parameters tab
00:43
within this tab,
00:45
you can choose which inventor parameters to adopt as informed design parameters.
00:51
The order the parameters are listed is the same order in which the parameters
00:55
are displayed in the informed design input form found in the rules tab.
01:02
The parameters list can be filtered by all model
01:06
user
01:08
key
01:10
as well as selected
01:12
in the rules tab
01:14
code blocks for parameters containing a list
01:17
are automatically added to the rule.
01:20
The informed design code block library contains a
01:24
rich set of code blocks of various categories to
01:27
allow you to build robust logic rules to
01:30
govern the design intent of your inventor model.
01:33
These include logic blocks to allow the creation of conditional statements
01:38
loop blocks to allow the iteration of code
01:43
mathematical blocks to assist with calculations.
01:46
A large collection of text blocks,
01:50
list blocks for working with collections
01:53
variables which are user created containers to hold data
01:57
functions which can be created to be reused to perform common tasks within your rule
02:04
and parameters which are adopted from the inventor model.
02:09
You can create local variables to do intermediate
02:12
calculations such as a conversion from feet to inches
02:17
here.
02:18
This is done by employing the code blocks from the
02:20
math category to multiply the parameter by a value of 12
02:27
with code blocks, you can create a conditional if do rule statement
02:32
to govern the minimum value of an adopted inventor user parameter.
02:37
Here.
02:37
The logic is created to check that the opening width parameter is not less than 16.
02:43
When an input value of less than 16 is detected,
02:47
the logic resets the parameter to 16 to maintain the minimum allowable value
02:55
to govern the maximum value of the opening width.
02:58
A variable called max opening width
03:01
is created to perform an intermediate calculation
03:04
to calculate that the maximum is the wall length minus nine
03:11
blocks are pulled from the code block library and arranged to
03:14
create the logic or equation to match the intended rule logic.
03:20
Snapping the blocks together
03:22
is as easy as dragging and dropping the puzzle piece ends to fit
03:28
next.
03:29
Logic is created to check that the opening
03:32
width parameter does not exceed the maximum opening width
03:36
as calculated by the previously created variable.
03:44
This is done by employing the conditional if do code block statement
03:57
once complete,
03:58
the code blocks are snapped together by simply dragging and dropping.
04:03
In order to tidy up the code block rule space.
04:06
To test the code block logic.
04:08
You can use the informed design form and enter
04:11
values that are below the specified minimum and maximum values
04:17
to see the inventor model update. Click the set model values button
04:23
testing the maximum value of the opening width seems to return an unexpected value
04:28
as the opening width exceeds the length of the wall in inches.
04:34
A quick review of the code block identifies the error,
04:38
updating the code block and retesting using the form.
04:42
And the set model values button
04:44
confirms the fix.
04:49
In summary.
04:50
The code block library contains code blocks of various categories
04:55
to allow the creation of product definition logic rules.
04:59
You can create min max logic to govern the
05:02
form inputs to maintain the design intent of the
05:05
inventor model conditional logic statements can be created with
05:09
if do code blocks to govern inputs and options.
These code blocks are accessed from the product definition under the rules tab.
The logic within the code blocks constrain the values and options such that it is only possible to enter valid values or valid combinations of values and options that to get define valid manufacturable product variants.
The product definition automatically lists the Inventor user parameters in the parameters tab.
Within this tab, you can choose which Inventor parameters to adopt as informed design parameters.
The order the parameters are listed is the same order in which the parameters are displayed in the informed design input form found in the rules tab.
The parameters list can be filtered by all model, user, key, as well as selected. In the rules tab, code blocks for parameters containing a list are automatically added to the rule.
The informed design block library contains a rich set of code blocks of various categories to allow you to build robust logic rules to govern the design intent of your Inventor model. These include logic blocks to allow the creation of conditional statements.
Loop blocks to allow the iteration of code.
Mathematical blocks to assist with calculations.
A large collection of text blocks.
List blocks for working with collections.
Variables which are user created containers to hold data.
Functions, which can be created to be reused to perform common tasks within your rule.
And parameters, which are adopted from the Inventor model.
You can create local variables to do intermediate calculations, such as a conversion from feet to inches.
Here, this is done by employing the code blocks from the math category to multiply the parameter by a value of twelve.
With code blocks, you can create a conditional if do rule statement to govern the minimum value of an adopted Inventor user parameter.
Here, the logic is created to check that the opening width parameter is not less than sixteen.
When an input value of less than sixteen is detected, The logic resets the parameter to sixteen to maintain the minimum allowable value.
To govern the maximum value of the opening width, a variable called max opening width is created to perform an intermediate calculation.
To calculate that the maximum is the wall length minus nine.
Blocks are pulled from the code block library and arrange to create the logic or equation to match the intended rule logic.
Snaping the blocks together, is as easy as dragging and dropping the puzzle piece ends to fit.
Next, logic is created to check that the opening width parameter does not exceed the maximum opening width as calculated by the previously created variable.
This is done by employing the conditional if do code block statement.
Once complete, the code blocks are snapped together by simply dragging and dropping in order to tidy up the code block rule space. To test the code block logic, you can use the informed design form and enter values that are below the specified minimum and maximum values.
To see the Inventor model update, click the set model values button.
Testing the maximum value of the opening width seems to return an unexpected value as the opening width exceeds the length of the wall in inches.
A quick review of the code block identifies the error.
Updating the code block and retesting using the form and the set model values button confirms the fix.
In summary, the code block library contains code blocks of various categories to allow creation of product definition logic rules. You can create minmax logic to govern the form inputs to maintain the design intent of the Inventor model Conditional logic statements can be created with if do code blocks to govern inputs and options.
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.