Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
2K views26 pages

Inventor 2022 Ilogic

inventor-2022-ilogic

Uploaded by

Solumech
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views26 pages

Inventor 2022 Ilogic

inventor-2022-ilogic

Uploaded by

Solumech
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

n.

nly
de o
id w
rb ie
fo rev
tly r
ric fo
st T
e EN
Autodesk® Inventor® 2022
us C

iLogic
re S
d yA
an b
d
ng e
yi vid

Learning Guide
Mixed Units - 1st Edition
op ro
lc p

Cover Page
Al ple
m
Sa

Authorized Publisher
ASCENT - Center for Technical Knowledge®
Autodesk® Inventor® 2022
iLogic
Mixed Units - 1st Edition
Prepared and produced by:

n. nly
ASCENT Center for Technical Knowledge
630 Peter Jefferson Parkway, Suite 175
Charlottesville, VA 22911

de o
866-527-2368

id w
www.ASCENTed.com

rb ie
Lead Contributor: Jennifer MacMillan
Copyright

fo rev
ASCENT - Center for Technical Knowledge (a division of Rand Worldwide Inc.) is a leading developer of
professional learning materials and knowledge products for engineering software applications. ASCENT

tly r
specializes in designing targeted content that facilitates application-based learning with hands-on software

ric fo
experience. For over 25 years, ASCENT has helped users become more productive through tailored
custom learning solutions.

st T
We welcome any comments you may have regarding this guide, or any of our products. To contact us
e EN
please email: [email protected].

© ASCENT - Center for Technical Knowledge, 2021


us C
All rights reserved. No part of this guide may be reproduced in any form by any photographic, electronic,
mechanical or other means or used in any information storage and retrieval system without the written
re S

permission of ASCENT, a division of Rand Worldwide, Inc.


d yA

The following are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the
USA and other countries: 123D, 3ds Max, ADSK, Alias, ATC, AutoCAD LT, AutoCAD, Autodesk, the Autodesk logo,
Autodesk 123D, Autodesk Alias, Autodesk Docs, ArtCAM, Autodesk Forge, Autodesk Fusion, Autodesk Inventor,
an b

AutoSnap, BIM 360, Buzzsaw, CADmep, CAMduct, Civil 3D, Configurator 360, Dancing Baby (image), DWF, DWG, DWG
(DWG logo), DWG Extreme, DWG TrueConvert, DWG TrueView, DWGX, DXF, Eagle, ESTmep, FBX, FeatureCAM,
d

Flame, FormIt 360, Fusion 360, The Future of Making Things, Glue, Green Building Studio, InfraWorks, Instructables,
Instructables (Instructables logo), Inventor, Inventor CAM, Inventor HSM, Inventor LT, Make Anything, Maya, Maya LT,
ng e

Moldflow, MotionBuilder, Mudbox, Navisworks, Netfabb, Opticore, PartMaker, Pier 9, PowerInspect, PowerMill,
yi vid

PowerShape, Publisher 360, RasterDWG, RealDWG, ReCap, ReCap 360, Remake, Revit LT, Revit, Scaleform, Shotgun,
Showcase, Showcase 360, SketchBook, Softimage, Tinkercad, TrustedDWG, VRED.
NASTRAN is a registered trademark of the National Aeronautics Space Administration.
op ro

All other brand names, product names, or trademarks belong to their respective holders.

General Disclaimer:
lc p

Notwithstanding any language to the contrary, nothing contained herein constitutes nor is intended to constitute an offer,
inducement, promise, or contract of any kind. The data contained herein is for informational purposes only and is not
Al ple

represented to be error free. ASCENT, its agents and employees, expressly disclaim any liability for any damages, losses
or other expenses arising in connection with the use of its materials or in connection with any failure of performance, error,
omission even if ASCENT, or its representatives, are advised of the possibility of such damages, losses or other
m

expenses. No consequential damages can be sought against ASCENT or Rand Worldwide, Inc. for the use of these
materials by any third parties or for any direct or indirect result of that use.
Sa

The information contained herein is intended to be of general interest to you and is provided "as is", and it does not
address the circumstances of any particular individual or entity. Nothing herein constitutes professional advice, nor does
it constitute a comprehensive or complete statement of the issues discussed thereto. ASCENT does not warrant that the
document or information will be error free or will meet any particular criteria of performance or quality. In particular (but
without limitation) information may be rendered inaccurate by changes made to the subject of the materials (i.e. applicable
software). Rand Worldwide, Inc. specifically disclaims any warranty, either expressed or implied, including the warranty
of fitness for a particular purpose.

AS-INV2201-ILG1MU-SG // IS-INV2201-ILG1MU-SG
C o n t e n ts

n. nly
de o
id w
rb ie
fo rev
Preface ........................................................................................................... vii

In This Guide .................................................................................................. xi

tly r
ric fo
Practice Files ................................................................................................ xiii

st T
Chapter 1: Introduction to iLogic ................................................................ 1-1
e EN1.1 Design Automation Overview ........................................................ 1-2
Out-of-the-Box................................................................................... 1-2
us C
Custom Configured ........................................................................... 1-3
re S

1.2 iLogic Overview............................................................................... 1-4


iLogic Functionality............................................................................ 1-5
d yA

iLogic Examples ................................................................................ 1-6


1.3 iLogic Workflow .............................................................................. 1-7
an b

Practice 1a Working with a Logical Model........................................... 1-9


d

Chapter Review Questions................................................................... 1-14


ng e
yi vid

Chapter 2: Understanding Parameters and Equations in iLogic ............. 2-1


2.1 Equations in iLogic ......................................................................... 2-2
op ro

2.2 Model and User Parameters in iLogic ........................................... 2-8


lc p

Model Parameters............................................................................. 2-8


User Parameters ............................................................................... 2-9
Al ple

Parameters and iLogic .................................................................... 2-13


Practice 2a Add Parameters................................................................ 2-14
m

Practice 2b Building a Logical Part Model I....................................... 2-20


Sa

Chapter Review Questions................................................................... 2-26


Command Summary ............................................................................. 2-29

© 2021, ASCENT - Center for Technical Knowledge® i


Autodesk Inventor 2022: iLogic

Chapter 3: Getting Started with iLogic ....................................................... 3-1


3.1 iLogic Interface................................................................................ 3-2
iLogic Panel....................................................................................... 3-2
iLogic Browser................................................................................... 3-2
Edit Rule Dialog Box ......................................................................... 3-3

n. nly
3.2 Function Overview ........................................................................ 3-10
Adding Snippets .............................................................................. 3-11

de o
Favorite Snippets ............................................................................ 3-12

id w
Custom Snippets............................................................................. 3-13

rb ie
3.3 Rule Creation Workflow................................................................ 3-15
Parameters vs. Variables ................................................................ 3-22

fo rev
Practice 3a Review, Run, and Create Rules....................................... 3-25
Chapter Review Questions................................................................... 3-37

tly r
ric fo
Command Summary ............................................................................. 3-40

Chapter 4: Rule Creation.............................................................................. 4-1

st T
e EN4.1 Conditional Statements .................................................................. 4-3
If...Then... End If................................................................................ 4-3
If... Then... Else... End If.................................................................... 4-4
us C
If... Then... ElseIf... Then... End If ..................................................... 4-4
re S

If... ..................................................................................................... 4-4


d yA

Case Structure .................................................................................. 4-5


While ................................................................................................. 4-6
Boolean Variables in Rules ............................................................... 4-7
an b

No Action Required ........................................................................... 4-7


d

4.2 Operators ......................................................................................... 4-8


ng e

4.3 Parameter Functions .................................................................... 4-11


yi vid

Parameter Functions....................................................................... 4-12


MultiValue Functions....................................................................... 4-13
op ro

Miscellaneous Parameter Functions ............................................... 4-15


lc p

4.4 Feature Functions ......................................................................... 4-16


Feature Suppression States............................................................ 4-16
Al ple

Color................................................................................................ 4-17
Thread Properties ........................................................................... 4-18
m

4.5 iProperty Functions ...................................................................... 4-20


Sa

iProperty Dialog Box Properties ...................................................... 4-21


Part Color Property ......................................................................... 4-24
Practice 4a Working with Conditional Statements............................ 4-25
Practice 4b Building a Logical Part Model II...................................... 4-37
Practice 4c Driving iProperties Using iLogic Rules.......................... 4-41
Chapter Review Questions................................................................... 4-47
Command Summary ............................................................................. 4-50

ii © 2021, ASCENT - Center for Technical Knowledge®


Contents

Chapter 5: Assembly Rules and Functions................................................ 5-1


5.1 Assembly Rules .............................................................................. 5-3
5.2 Component Functions .................................................................... 5-9
Component Activation Functions .................................................... 5-10
Model State Activation Functions.................................................... 5-12

n. nly
Visibility Functions........................................................................... 5-13
Color Functions ............................................................................... 5-13

de o
Replacement Functions .................................................................. 5-14

id w
MakePath ........................................................................................ 5-17
Add Components ............................................................................ 5-18

rb ie
Delete Components ........................................................................ 5-19

fo rev
Patterning Components/Features ................................................... 5-19
Manage Components...................................................................... 5-20
Assembly Instance Properties......................................................... 5-20

tly r
ric fo
5.3 Relationship Functions ................................................................ 5-22
Constraint and Joint Suppression ................................................... 5-24

st T
iMate Definition Suppression .......................................................... 5-25
e EN Add Constraints............................................................................... 5-26
Delete Constraints........................................................................... 5-26
iMates.............................................................................................. 5-26
us C
5.4 iLogic Components in Inventor Assemblies .............................. 5-27
re S

Practice 5a Building a Logical Assembly Model ............................... 5-31


d yA

Practice 5b Controlling Component Addition and Deletion............. 5-46


Practice 5c Controlling Model State Display in
an b

Assembly Components ....................................................................... 5-58


d

Chapter Review Questions................................................................... 5-63


ng e

Command Summary ............................................................................. 5-66


yi vid

Chapter 6: Drawing Rules and Functions .................................................. 6-1


op ro

6.1 Drawing Rules ................................................................................. 6-3


lc p

6.2 Sheet Functions .............................................................................. 6-6


Al ple

Activate a Sheet ................................................................................ 6-7


Sheet Information.............................................................................. 6-7
Change Sheet Size ........................................................................... 6-7
m

6.3 Title Block Functions...................................................................... 6-8


Sa

Change Title Block .......................................................................... 6-10


Change Border................................................................................ 6-10
6.4 View Functions.............................................................................. 6-11
Drawing View .................................................................................. 6-12
View Size ........................................................................................ 6-12
View Scale ...................................................................................... 6-12
View Positioning.............................................................................. 6-12
Drawing Balloons ............................................................................ 6-14

© 2021, ASCENT - Center for Technical Knowledge® iii


Autodesk Inventor 2022: iLogic

6.5 Annotation Functions ................................................................... 6-16


Dimensions ..................................................................................... 6-18
Centermark ..................................................................................... 6-18
Centerlines ...................................................................................... 6-19
Notes............................................................................................... 6-20

n. nly
Balloons .......................................................................................... 6-21
6.6 Advanced Functions..................................................................... 6-22

de o
View Suppression ........................................................................... 6-22
Hide a Layer.................................................................................... 6-23

id w
Model Documents ........................................................................... 6-23

rb ie
Model Parameters........................................................................... 6-23

fo rev
Practice 6a Automating Drawing Changes ........................................ 6-24
Chapter Review Questions................................................................... 6-45

tly r
Command Summary ............................................................................. 6-47

ric fo
Chapter 7: Rule Triggering and Form Creation ......................................... 7-1

st T
7.1 Event Triggers ................................................................................. 7-3
e EN7.2 iTriggers........................................................................................... 7-9
7.3 Forms ............................................................................................. 7-11
us C

Practice 7a Creating Triggers and Forms .......................................... 7-25


re S

Chapter Review Questions................................................................... 7-40


d yA

Command Summary ............................................................................. 7-44


an b

Chapter 8: Miscellaneous Features and Functions................................... 8-1


d

8.1 Rule Options.................................................................................... 8-2


ng e

8.2 Search and Replace ........................................................................ 8-4


yi vid

8.3 Wizards ............................................................................................ 8-5


op ro

8.4 Miscellaneous Functions ............................................................. 8-12


Sheet Metal ..................................................................................... 8-12
lc p

Message Box .................................................................................. 8-12


Measure .......................................................................................... 8-15
Al ple

Document........................................................................................ 8-15
Run Other Rule ............................................................................... 8-16
m

Chapter Review Questions................................................................... 8-17


Sa

Command Summary ............................................................................. 8-19

Chapter 9: Project Practices........................................................................ 9-1


9.1 Introduction to Projects.................................................................. 9-2
Practice 9a Create a Configurable Model............................................. 9-3
Practice 9b Create a Configurable Assembly...................................... 9-7
Practice 9c Create a Configurable Drawing....................................... 9-11

iv © 2021, ASCENT - Center for Technical Knowledge®


Contents

Appendix A: iLogic Design Copy ................................................................A-1


A.1 iLogic Design Copy.........................................................................A-2
Chapter Review Questions.....................................................................A-7
Command Summary ...............................................................................A-8

n. nly
Index ...................................................................................................... Index-1

de o
id w
rb ie
fo rev
tly r
ric fo
st T
e EN
us C
re S
d yA
an b
d
ng e
yi vid
op ro
lc p
Al ple
m
Sa

© 2021, ASCENT - Center for Technical Knowledge® v


Preface

n. nly
de o
id w
rb ie
fo rev
The Autodesk® Inventor® 2022: iLogic guide teaches you how to use the iLogic
functionality that exists in the Autodesk® Inventor® 2022 software. In this
practice-intensive curriculum, you will acquire the knowledge required to use

tly r
iLogic to automate Autodesk Inventor designs.

ric fo
In this guide, you will learn how iLogic functionality furthers the use of parameters

st T
in a model by adding an additional layer of intelligence. By setting criteria in the
e EN
form of established rules, you learn how to capture design intent, enabling you to
automate the design workflow to meet various design scenarios in part, assembly,
and drawing files.
us C
re S

Topics Covered
d yA

• iLogic functionality overview.


an b

• iLogic workflow overview.


d

• Review of model and user-defined parameters, and equations and their


ng e

importance in iLogic.
yi vid

• Understanding the iLogic interface components (iLogic panel, Edit Rule dialog
op ro

box, and iLogic browser).


lc p

• Rule creation workflow for Autodesk Inventor parts and assemblies.


Al ple

• Using variations of conditional statements in an iLogic rule.


m

• Accessing and incorporating the various function types into an iLogic part,
assembly, or drawing file rule.
Sa

• Event Triggers and iTriggers.

• Creating Forms to create a custom user interface for an iLogic rule.

© 2021, ASCENT - Center for Technical Knowledge® vii


Autodesk Inventor 2022: iLogic

Prerequisites

• Access to the 2022.0 version of the software, to ensure compatibility with this
guide. Future software updates that are released by Autodesk may include
changes that are not reflected in this guide. The practices and files included
with this guide are not compatible with prior versions (e.g., 2021).

n. nly
• The class assumes a mastery of Autodesk Inventor basics, as taught in the

de o
Autodesk Inventor: Introduction to Solid Modeling guide. The Autodesk
Inventor: Advanced Part and Assembly Modeling guides are also highly

id w
recommended.

rb ie
• No programming knowledge is required to use the basic iLogic functions, but

fo rev
programming experience can be an asset when using advanced functions.

Note on Software Setup

tly r
ric fo
This guide assumes a standard installation of the software using the default
preferences during installation. Lectures and practices use the standard software

st T
templates and default options for the Content Libraries.
e EN
Students and Educators Can Access Free Autodesk Software
us C
and Resources
re S
d yA

Autodesk challenges you to get started with free educational licenses for
professional software and creativity apps used by millions of architects,
engineers, designers, and hobbyists today. Bring Autodesk software into your
an b

classroom, studio, or workshop to learn, teach, and explore real-world design


challenges the way professionals do.
d
ng e

Get started today - register at the Autodesk Education Community and download
yi vid

one of the many Autodesk software applications available.


op ro

Visit www.autodesk.com/education/home/
lc p

Note: Free products are subject to the terms and conditions of the end-user
Al ple

license and services agreement that accompanies the software. The software is
for personal use for education purposes and is not intended for classroom or lab
use.
m
Sa

viii © 2021, ASCENT - Center for Technical Knowledge®


Preface

Lead Contributor: Jennifer MacMillan

With a dedication for engineering and education, Jennifer has spent over 25 years
at ASCENT managing courseware development for various CAD products.
Trained in Instructional Design, Jennifer uses her skills to develop instructor-led

n. nly
and web-based training products as well as knowledge profiling tools.

Jennifer has achieved the Autodesk Certified Professional certification for

de o
Inventor and is also recognized as an Autodesk Certified Instructor (ACI). She

id w
enjoys teaching the training courses that she authors and is also very skilled in

rb ie
providing technical support to end-users.

fo rev
Jennifer holds a Bachelor of Engineering Degree as well as a Bachelor of Science
in Mathematics from Dalhousie University, Nova Scotia, Canada.

tly r
Jennifer MacMillan has been the Lead Contributor for Autodesk Inventor: iLogic

ric fo
since its initial release in 2013.

st T
e EN
us C
re S
d yA
an b
d
ng e
yi vid
op ro
lc p
Al ple
m
Sa

© 2021, ASCENT - Center for Technical Knowledge® ix


In This Guide

n. nly
de o
id w
rb ie
fo rev
The following highlights the key features of this guide.

Feature Description

tly r
ric fo
Practice Files The Practice Files page includes a link to the practice files and
instructions on how to download and install them. The practice files

st T
are required to complete the practices in this guide.
e EN
Chapters A chapter consists of the following - Learning Objectives,
Instructional Content, Practices, Chapter Review Questions, and
us C
Command Summary.
re S

• Learning Objectives define the skills you can acquire by learning


the content provided in the chapter.
d yA

• Instructional Content, which begins right after Learning


Objectives, refers to the descriptive and procedural information
related to various topics. Each main topic introduces a product
an b

feature, discusses various aspects of that feature, and provides


d

step-by-step procedures on how to use that feature. Where


relevant, examples, figures, helpful hints, and notes are provided.
ng e
yi vid

• Practice for a topic follows the instructional content. Practices


enable you to use the software to perform a hands-on review of a
topic. It is required that you download the practice files (using the
op ro

link found on the Practice Files page) prior to starting the first
practice.
lc p

• Chapter Review Questions, located close to the end of a


Al ple

chapter, enable you to test your knowledge of the key concepts


discussed in the chapter.
• Command Summary concludes a chapter. It contains a list of the
m

software commands that are used throughout the chapter and


provides information on where the command can be found in the
Sa

software.

Appendices Appendices provide additional information to the main course


content. It could be in the form of instructional content, practices,
tables, projects, or skills assessment.

© 2021, ASCENT - Center for Technical Knowledge® xi


Sa

xii
m
Al ple
lc p
op ro
Autodesk Inventor 2022: iLogic

yi vid
ng e
d
an b
d yA
re S
us C
e EN
st T
ric fo
tly r
fo rev
rb ie
id w
de o
n. nly

© 2021, ASCENT - Center for Technical Knowledge®


Chapter

n. nly
de o
id w
rb ie
fo rev
Introduction to iLogic

tly r
ric fo
st T
The Autodesk® Inventor® iLogic functionality provides an easy-to-use interface
e EN
that enables you to automate designs by creating and manipulating rules that
drive the model’s geometry. As opposed to making parameter changes in a single
model, the use of iLogic enables you to set the controls for parameter change to
us C
build design intent into a model.
re S
d yA

Learning Objectives in This Chapter


• Understand the various design automation tools in the Autodesk Inventor software.
an b

• Understand how the iLogic functionality can be incorporated into a model to use parameters
and equations to build design intent into a model.
d

• Describe the workflow for incorporating iLogic automation into an Autodesk Inventor file.
ng e
yi vid
op ro
lc p
Al ple
m
Sa

© 2021, ASCENT - Center for Technical Knowledge® 1–1


Autodesk Inventor 2022: iLogic

1.1 Design Automation Overview


Several different methodologies can be used for design
automation. These range from out-of-the-box Autodesk Inventor
solutions to highly customized and programmed solutions. The

n. nly
progression of these solutions is shown in Figure 1–1. As you
progress through the options, the investment in training or

de o
customized programming increases. The key is to find a solution
that balances a justifiable investment with the requirements for

id w
the solution.

rb ie
fo rev
tly r
ric fo
st T
e EN
us C
re S
d yA

Figure 1–1
an b

Out-of-the-Box A number of tools in the Autodesk Inventor software can be used


d

to incorporate intelligence into your designs. The progression of


ng e

these solutions in terms of complexity is shown in Figure 1–2.


yi vid
op ro
lc p
Al ple
m
Sa

Figure 1–2
• Parameters and equations can be used to relate dimensions
or features to one another. The relationships that are
established build intelligence into your design so that the
basic design intent is captured.

1–2 © 2021, ASCENT - Center for Technical Knowledge®


Introduction to iLogic

• The Autodesk Inventor model states, iPart, and iAssembly


functionalities enable you to create variations in your part
designs quickly and easily. This provides an alternative to
recreating the same model repeatedly while varying specific
parameters in the model. This customization is accomplished

n. nly
by assigning variable model parameters to a table in which
values are entered to create a specific variation.

de o
• Parameters can be controlled directly in the software.

id w
However, a further level of customization enables you to
control the parameter values using a spreadsheet. The

rb ie
spreadsheet can be embedded or linked to an Autodesk

fo rev
Inventor file to control the parameter values. This is ideal for
users that might not have access to the Autodesk Inventor
software or have limited knowledge of the software.

tly r
ric fo
• Using iLogic functionality in the Autodesk Inventor software
enables you to incorporate a rules-based design into your

st T
model that captures and automates an intelligent design
e EN process. Using the basic iLogic functions requires little or no
programming knowledge, but programming experience can
help with the advanced functions. This functionality is the
us C
focus of this student guide.
re S
d yA

• Programming VBA Macros or Application Programming


Interfaces (API), or incorporating custom add-ins for design
automation can be done using the out-of-the-box Autodesk
an b

Inventor functionality. This level of customization requires


d

programming knowledge.
ng e

Many users do not have API experience or a background with


yi vid

VB and VBA programming that is required for the top level of


out-of-the-box customization. Therefore, iLogic, with its intuitive
op ro

interface, is an excellent choice for design automation.


lc p

Custom
Al ple

At the top end of the spectrum, standalone tools can be


programmed that are highly customized and oriented toward
Configured solving a specific business or design need. For example, a sales
m

configurator tool might be required to limit the contact points in a


Sa

sales cycle. This solution generally requires programming using


custom-built applications with considerable investment.

© 2021, ASCENT - Center for Technical Knowledge® 1–3


Autodesk Inventor 2022: iLogic

1.2 iLogic Overview


iLogic can also be used iLogic functionality takes the use of parameters and equations in
in the Assembly, a model one step further by adding an additional layer of
Drawing, and Sheet intelligence in your design. iLogic enables you to set the criteria

n. nly
Metal environments. in the form of established rules that capture design intent,
enabling you to reuse designs to suit various design scenarios.

de o
The rules are all incorporated as part of the digital prototype
definition. The rules that define the design intent control the

id w
model and automate the design workflow to ensure that the

rb ie
model reacts correctly. iLogic rules are based on conditional

fo rev
statements and functions. Automation functions have been
embedded in the rule creation dialog box enabling you to define
the rules that can accomplish many different results in a design.

tly r
No programming knowledge is required to use the basic iLogic

ric fo
functions, but programming experience can be an asset when
using the advanced functions.

st T
e EN
iLogic is VB-based.
Therefore, visual basic
In the example shown in Figure 1–3, iLogic is used to control the
thickness of the connecting rod, based on its length. The rule
code can be used. that controls the geometry indicates the range of values that are
us C
acceptable and what thickness value is to be used.
re S
d yA
an b
d

Length = 60 mm
ng e
yi vid
op ro
lc p
Al ple

Length = 90 mm
m

Figure 1–3
Sa

1–4 © 2021, ASCENT - Center for Technical Knowledge®


Introduction to iLogic

iLogic Some things that can be accomplished using iLogic rules include
the following:
Functionality
• Control model and user parameter values to ensure that the
specifications and standards are met. Supports string (Text),
boolean (True/False), and numeric parameters.

n. nly
• Activate part and assembly features

de o
• Control the inclusion of components in an assembly through

id w
suppression or deletion.

rb ie
• Control assembly constraints based on conditional

fo rev
statements, or assign assembly constraints.

• Perform multiple operations based on a single user input.

tly r
ric fo
• Perform checks (iProperties, dimensions, etc.) in the model

st T
for design situations.
e EN • Update material, iProperty, and Instance Property information
in the model.
us C

• Read document information (filename, path, extension, etc.).


re S
d yA

• Measure entities in the model.

• Provide customized feedback based on specified conditions.


an b
d

• Drive iFeature, iPart, and iAssembly configurations.


ng e

• Drive the use of model states in a model.


yi vid

• Incorporate the execution of other rules in a parent rule.


op ro

• Interface directly with a predefined form to assign parameter


lc p

values.
Al ple

• Control drawing size, borders, and title block information


based on user entry.
m

• Control view location and size or suppression in a drawing.


Sa

© 2021, ASCENT - Center for Technical Knowledge® 1–5


Autodesk Inventor 2022: iLogic

iLogic The assemblies shown in Figure 1–4 have been automated


using iLogic. Custom forms have been created to easily enter the
Examples required data that drives all of the iLogic rules.

n. nly
de o
id w
rb ie
fo rev
tly r
ric fo
st T
e EN
us C
re S
d yA
an b
d
ng e
yi vid
op ro
lc p
Al ple
m
Sa

Figure 1–4

1–6 © 2021, ASCENT - Center for Technical Knowledge®


Introduction to iLogic

1.3 iLogic Workflow


As with most functionality in the Autodesk Inventor software, the
use of iLogic also follows a workflow. This workflow can be
broken into four steps.

n. nly
General Steps

de o
Use the following general steps to create iLogic rules:

id w
1. Prepare the model/drawing.

rb ie
2. Rule creation.
3. Set rule triggers.

fo rev
4. Create and edit rules, as necessary.

Figure 1–5 highlights the steps graphically. Additional in-depth

tly r
information is included for each of these steps as you progress

ric fo
through this learning guide.

st T
e EN
us C
Figure 1–5
re S
d yA

Step 1 - Prepare the model/drawing.


an b

Before a rule can be created, all of the required dimensions,


d

parameters, and equations must already have been added to the


ng e

model. Rules are written based on this information and without it,
yi vid

the rules are not tied to the model geometry. Therefore, when
you design a model, you should always consider the final design
intent.
op ro
lc p

• Verify that feature dimensions capture the model’s geometric


intent, ensure that any required user parameters (Numeric,
Al ple

Text, and True/False) are included, and that they update if


changes are required.
m

In the case of automating a drawing, a drawing must exist that


Sa

contains all of the details required to communicate the design.


iLogic rules in a drawing can control sheet sizes, title blocks and
borders, view positioning, scaling, and suppression.

© 2021, ASCENT - Center for Technical Knowledge® 1–7


Autodesk Inventor 2022: iLogic

Step 2 - Rule creation.


An iLogic rule is used to control the parameters, features, or
components beyond what the user defined parameters and
equations can do in the Autodesk Inventor software.

n. nly
• iLogic rules are based on conditional statements and

de o
functions that capture the design intent, enabling you to
reuse designs to meet various design scenarios.

id w
rb ie
• A substantial and varied list of functions are provided that can
be included in a rule.

fo rev
tly r
Step 3 - Set rule triggers.

ric fo
Rule triggers enable you to define when a rule is launched

st T
(triggered). iLogic provides a list of event triggers to which the
e EN established rules are assigned.
us C
• The list of triggers varies slightly depending on whether a
part, assembly, or drawing is active.
re S
d yA

• Each trigger provides you with standard functions that are


commonly used, such as before a document save, when a
document is closed, or when a model parameter is changed.
an b
d

• An iTrigger can also be used to trigger rules by adding a user


ng e

parameter to the document that in turn launches any rules


yi vid

that it contains.
op ro

Step 4 - Create and edit rules, as necessary.


lc p
Al ple

Continue to add or edit rules, as required.

• A complete list of rules can be reviewed in the iLogic browser.


m
Sa

• The order in which rules are listed in the iLogic browser can
affect the resulting geometry. Drag and drop rules in the
iLogic browser to capture the model’s true design intent.

1–8 © 2021, ASCENT - Center for Technical Knowledge®


Introduction to iLogic

Practice 1a Working with a Logical Model


Practice Objectives
• Review parameters in a part and assembly model.

n. nly
• Review iLogic rules that have been created in part and assembly
models.

de o
• Launch and edit an iLogic form to modify the key parameters used to
configure an assembly and its components.

id w
In this practice, you will open an Autodesk Inventor assembly in

rb ie
which iLogic rules and forms have been created in the top-level

fo rev
assembly model. A component in the assembly also has iLogic
rules. Using a custom iLogic form, you will make changes to the
model by selecting and entering new parameter values. The

tly r
intent of the practice is to show how multiple design

ric fo
configurations can easily be created after iLogic rules have been
incorporated into a model.

st T
e EN Task 1 - Open a part model and review its parameters.
us C
1. If the Autodesk Inventor software is not open, select Start>
re S

All Programs>Autodesk>Autodesk Inventor 2022>


d yA

Autodesk Inventor 2022 or double-click on the Autodesk


Inventor 2022 icon on the desktop.
an b

2. In the Get Started tab>Launch panel, click (Projects) to


d

open the Projects dialog box.


ng e
yi vid

This project file is used 3. Click Browse, browse to C:\Autodesk Inventor 2022 iLogic
for all of the iLogic Practice Files\ (or the directory of the installation files if you
learning content. chose a different directory), and select iLogic.ipj. Click
op ro

Open. The Projects dialog box updates and a checkmark


lc p

displays next to the new project name, indicating that it is the


active project. The project file tells the Autodesk Inventor
Al ple

software where your files are stored.

4. Click Done.
m
Sa

© 2021, ASCENT - Center for Technical Knowledge® 1–9


Autodesk Inventor 2022: iLogic

5. Open Configured_Clip.ipt in the Overview folder. The model


displays as shown in Figure 1–6.

n. nly
de o
id w
rb ie
fo rev
Figure 1–6

tly r
6. In the Manage tab>Parameters panel, click (Parameters)

ric fo
to open the Parameters dialog box. Expand the User
Parameters node, if required. Five key user parameters have

st T
been created in the model. These have been added to the
e EN model for use in the iLogic rules and contain the required
configuration options. For example, the Clip_Color
us C
parameter enables you to select from five material types to
control the material. This subsequently controls the clip color
re S

based on the material type that is selected.


d yA

7. Expand the Model Parameters node, if required. The four


key model parameters (Length, Clip_Angle, Thickness,
an b

and Width) are also used in the iLogic rules.


d

8. Close the Parameters dialog box.


ng e
yi vid

Task 2 - Launch an iLogic form to configure the model.


op ro

1. In the Manage tab>iLogic panel, click (iLogic browser) to


lc p

toggle on the display of the iLogic browser. The browser


Al ple

displays embedded in the Model browser.


• If the browser is not embedded, drag and drop its window
m

into the header of the Model browser.


Sa

2. Note that the iLogic browser is now a tab at the top of the
Model browser. Ensure that the iLogic browser is active.

3. In the Rules tab in the iLogic browser, note that seven iLogic
rules have been created in the model. Their descriptive
names help to identify their purposes. For example, the
Clip_Color rule controls the clip color based on the material
type that is selected.

1–10 © 2021, ASCENT - Center for Technical Knowledge®


Introduction to iLogic

4. Double-click on the Clip_Color rule to open the Edit Rule


dialog box. This dialog box is used to program iLogic rules.
Click Close to close the dialog box without making changes.

5. Select the Forms tab. It contains any forms that have been
created in the model.

n. nly
6. Click Clip Configuration to open the Clip Configuration form,

de o
as shown in Figure 1–7.

id w
rb ie
fo rev
tly r
ric fo
st T
e EN
us C
re S
d yA
an b
d
ng e
yi vid

Figure 1–7
Each of the items in the form drives the following changes in
op ro

the model:
lc p

• Assigns the client name for the project. This is a


drop-down list of available client names.
Al ple

• Defines the clip color. This is a drop-down list of available


materials.
m

• Assigns the thickness and width of the clip. This is a


Sa

drop-down list of the available sizes.


If outside of the • Assigns the clip angle. This is a user-entry field. The
permitted range, an permitted range of angular values is 7.5 to 20.
assigned value is set • Assigns the clip length. This is a user-entry field. The
and you are provided permitted range of values is 35 to 70 mm.
with feedback.

© 2021, ASCENT - Center for Technical Knowledge® 1–11


Autodesk Inventor 2022: iLogic

• Assigns engraving to the surface of the clip. You can


specify whether the engraving is to be included. If set to
True, you can specify the engraving text. When engraving
is included, a message displays details about the
acceptable character length.

n. nly
7. Change the model’s configuration by selecting and entering
values for each of the fields.

de o
8. The model updates with the changes as you make selections

id w
in the drop-down lists, or when you press <Enter> after

rb ie
entering a value.

fo rev
9. Click Done to close the form.

10. Close the model without saving.

tly r
ric fo
Task 3 - Launch an iLogic form to configure the assembly.

st T
e EN 1. Open Mechanical Pencil_Complete.iam in the Overview
folder. The model displays as shown in Figure 1–8.
us C
re S
d yA
an b
d
ng e
yi vid
op ro
lc p
Al ple

Figure 1–8
m

To set the LOD 2. The assembly should open in the iLogic model state
representation, expand representation. If not, set the iLogic representation as the
Sa

the Model State node in active model state. This representation is required for the
the Model browser and Grip Style iLogic rule to run correctly. This is discussed in the
double-click on iLogic. Assembly functions content.

3. Activate the iLogic browser and select the Rules tab. The
rules provided enable customization of the assembly.

4. Select the Forms tab. It contains any forms that have been
created in the model.

1–12 © 2021, ASCENT - Center for Technical Knowledge®


Introduction to iLogic

5. Click Assembly Configuration to launch the Assembly


Configuration form, as shown in Figure 1–9.

n. nly
de o
id w
rb ie
fo rev
tly r
ric fo
st T
e EN
us C
re S
d yA
an b
d
ng e
yi vid
op ro

Figure 1–9
lc p

Each of the items in the form drive changes in the assembly and
Al ple

clip models. Many of the options are the same as in the clip
model and the values entered here are pushed to the clip model
to make changes to it. The only item that is unique to the
m

assembly is the Grip Style. This controls how the grip geometry
Sa

is represented in the assembly.

6. Change the assembly’s configuration by selecting and


entering values. The changes are done as selections are
made, or when you press <Enter>.

7. Click Done to close the form.

8. Close the model without saving.

© 2021, ASCENT - Center for Technical Knowledge® 1–13


Autodesk Inventor 2022: iLogic

Chapter Review Questions


1. Which of the following design automation tools are available
as part of the Autodesk Inventor software? (Select all that

n. nly
apply.)
a. .Parameters

de o
b. .Model States

id w
c. iParts

rb ie
d. .iAssemblies

fo rev
e. .iLogic
f. .API Programming

tly r
ric fo
2. Which of the following best describes why it is important to
ensure that the dimension scheme in a model captures the

st T
design intent before iLogic rules are added?
e EN a. Dimensions cannot be modified once iLogic rules have
been incorporated into the model.
us C
b. Features cannot be modified once iLogic rules have been
re S

incorporated into the model.


d yA

c. The dimension/model parameters are referenced in the


rules to drive the model geometry. They must capture the
an b

model’s intent for the rule referencing to work correctly.


d

3. Working with iLogic requires experience with API and VBA


ng e

programming.
yi vid

a. True
b. False
op ro

4. Which of the following can be accomplished using iLogic?


lc p

(Select all that apply.)


Al ple

a. Perform multiple operations based on a single user input.


b. Update material and iProperty information in the model.
m

c. Provide user with customized feedback based on


Sa

specified conditions.
d. Drive iFeature, iPart, and iAssembly configurations.
e. Interface directly with a predefined form to assign
parameter values.

1–14 © 2021, ASCENT - Center for Technical Knowledge®

You might also like