You are on page 1of 28

n.

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

iLogic
re S
d yA
an b

Student Guide
d
ng e
yi vid

Revision 1.0
Cover Page

June 2015
op ro
lc p
Al ple
m
Sa

Authorized Author
Sa
m
Al ple
lc p
op ro
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
ASCENT - Center for Technical Knowledge®
Autodesk® Inventor® 2016
iLogic
Revision 1.0
Prepared and produced by:

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

de o
Charlottesville, VA 22911

id w
866-527-2368
www.ASCENTed.com Copyright

rb ie
ASCENT - Center for Technical Knowledge is a division of Rand Worldwide, Inc., providing

fo rev
custom developed knowledge products and services for leading engineering software
applications. ASCENT is focused on specializing in the creation of education programs that
incorporate the best of classroom learning and technology-based training offerings.

tly r
We welcome any comments you may have regarding this training guide, or any of our products.

ric fo
To contact us please email: feedback@ASCENTed.com.

st T
© ASCENT - Center for Technical Knowledge, 2015
e EN
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
us C
without the written permission of ASCENT, a division of Rand Worldwide, Inc.
re S

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, Algor, Alias, AliasStudio, ATC, AutoCAD LT, AutoCAD, Autodesk, the Autodesk
d yA

logo, Autodesk 123D, Autodesk Homestyler, Autodesk Inventor, Autodesk MapGuide, Autodesk Streamline, AutoLISP,
AutoSketch, AutoSnap, AutoTrack, Backburner, Backdraft, Beast, BIM 360, Burn, Buzzsaw, CADmep, CAiCE, CAMduct,
CFdesign, Civil 3D, Cleaner, Combustion, Communication Specification, Constructware, Content Explorer, Creative
Bridge, Dancing Baby (image), DesignCenter, DesignKids, DesignStudio, Discreet, DWF, DWG, DWG (design/logo),
an b

DWG Extreme, DWG TrueConvert, DWG TrueView, DWGX, DXF, Ecotect, ESTmep, Evolver, FABmep, Face Robot, FBX,
Fempro, Fire, Flame, Flare, Flint, FMDesktop, ForceEffect, FormIt, Freewheel, Fusion 360, Glue, Green Building Studio,
d

Heidi, Homestyler, HumanIK, i-drop, ImageModeler, Incinerator, Inferno, InfraWorks, Instructables, Instructables (stylized
ng e

robot design/logo), Inventor LT, Inventor, Kynapse, Kynogon, LandXplorer, Lustre, MatchMover, Maya, Maya LT,
Mechanical Desktop, MIMI, Mockup 360, Moldflow Plastics Advisers, Moldflow Plastics Insight, Moldflow, Moondust,
yi vid

MotionBuilder, Movimento, MPA (design/logo), MPA, MPI (design/logo), MPX (design/logo), MPX, Mudbox, Navisworks,
ObjectARX, ObjectDBX, Opticore, Pipeplus, Pixlr, Pixlr-o-matic, Productstream, RasterDWG, RealDWG, ReCap, Remote,
Revit LT, Revit, RiverCAD, Robot, Scaleform, Showcase, ShowMotion, Sim 360, SketchBook, Smoke, Socialcam,
op ro

Softimage, Sparks, SteeringWheels, Stitcher, Stone, StormNET, TinkerBox, ToolClip, Topobase, Toxik, TrustedDWG,
T-Splines, ViewCube, Visual LISP, Visual, VRED, Wire, Wiretap, WiretapCentral, XSI.
lc p

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

General Disclaimer:
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
represented to be error free. ASCENT, its agents and employees, expressly disclaim any liability for any damages, losses
m

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
Sa

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.
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.
Sa
m
Al ple
lc p
op ro
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
C o n t e n ts

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

In this Guide .................................................................................................. vii

tly r
ric fo
Practice Files .................................................................................................. xi

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


d yA

iLogic Functionality............................................................................ 1-5


iLogic Examples ................................................................................ 1-6
an b

1.3 iLogic Workflow .............................................................................. 1-7


d

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


ng e

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


yi vid

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


op ro

2.1 Equations......................................................................................... 2-2


lc p

2.2 Parameters....................................................................................... 2-8


Model Parameters............................................................................. 2-8
Al ple

User Parameters ............................................................................... 2-9


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

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


Sa

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


Chapter Review Questions................................................................... 2-26
Command Summary ............................................................................. 2-29

© 2015, ASCENT - Center for Technical Knowledge® i


Autodesk Inventor 2016 iLogic

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


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

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

de o
Favorite Snippets ............................................................................ 3-11

id w
Custom Snippets............................................................................. 3-12

rb ie
3.3 Rule Creation Workflow................................................................ 3-14
Parameters vs. Variables ................................................................ 3-20

fo rev
Practice 3a Review, Run, and Create Rules....................................... 3-23
Chapter Review Questions................................................................... 3-35

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

st T
Chapter 4: Rule Creation.............................................................................. 4-1
e EN4.1 Conditional Statements .................................................................. 4-3
If...Then...EndIf.................................................................................. 4-3
us C
If...Then... Else...EndIf....................................................................... 4-4
If...Then...ElseIf...Then...EndIf .......................................................... 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
yi vid

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


Parameter Functions....................................................................... 4-12
MultiValue Functions....................................................................... 4-12
op ro

Miscellaneous Parameter functions ................................................ 4-14


lc p

4.4 Feature Functions ......................................................................... 4-15


Al ple

Feature Suppression States............................................................ 4-15


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

4.5 iProperty Functions ...................................................................... 4-19


Sa

iProperty Dialog Box Properties ...................................................... 4-20


Part Color Property ......................................................................... 4-23
Material Properties .......................................................................... 4-23
Practice 4a Working with Conditional Statements............................ 4-24
Practice 4b Building a Logical Part Model II...................................... 4-35
Practice 4c Driving iProperties using iLogic Rules .......................... 4-39

ii © 2015, ASCENT - Center for Technical Knowledge®


Contents

Chapter Review Questions................................................................... 4-45


Command Summary ............................................................................. 4-48

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


5.1 Assembly Rules .............................................................................. 5-3

n. nly
5.2 Component Functions .................................................................... 5-9
Component Activation Functions ...................................................... 5-9

de o
Visibility Functions........................................................................... 5-12

id w
Color Functions ............................................................................... 5-13

rb ie
Replacement Functions .................................................................. 5-13
MakePath ........................................................................................ 5-17

fo rev
5.3 Relationship Functions ................................................................ 5-18
Constraint & Joint Suppression....................................................... 5-19

tly r
iMate Definition Suppression .......................................................... 5-20

ric fo
5.4 iLogic Components in Inventor Assemblies .............................. 5-21

st T
Practice 5a Building a Logical Assembly Model ............................... 5-25
e EN
Chapter Review Questions................................................................... 5-39
Command Summary ............................................................................. 5-42
us C
re S

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


d yA

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


6.2 Sheet Functions .............................................................................. 6-6
an b

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


Sheet Information.............................................................................. 6-7
d

Change Sheet Size ........................................................................... 6-7


ng e

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


yi vid

Change Title Block ............................................................................ 6-9


Change Border................................................................................ 6-10
op ro

6.4 View Functions.............................................................................. 6-11


lc p

Drawing View .................................................................................. 6-11


View Size ........................................................................................ 6-12
Al ple

View Scale ...................................................................................... 6-12


View Positioning.............................................................................. 6-12
m

Drawing Balloons ............................................................................ 6-14


Sa

6.5 Advanced Functions..................................................................... 6-15


View Suppression ........................................................................... 6-15
Hide a Layer.................................................................................... 6-16
Model Documents ........................................................................... 6-16
Model Parameters........................................................................... 6-16
Practice 6a Automating Drawing Changes ........................................ 6-17

© 2015, ASCENT - Center for Technical Knowledge® iii


Autodesk Inventor 2016 iLogic

Chapter Review Questions................................................................... 6-30


Command Summary ............................................................................. 6-32

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


7.1 Event Triggers ................................................................................. 7-3

n. nly
7.2 iTriggers........................................................................................... 7-9

de o
7.3 Forms ............................................................................................. 7-11

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

rb ie
Chapter Review Questions................................................................... 7-40

fo rev
Command Summary ............................................................................. 7-44

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

tly r
ric fo
8.1 Rule Options.................................................................................... 8-2
8.2 Search and Replace ........................................................................ 8-3

st T
8.3 Wizards ............................................................................................ 8-4
e EN8.4 Miscellaneous Functions ............................................................. 8-11
Sheet Metal ..................................................................................... 8-11
us C
Measure .......................................................................................... 8-14
re S

Document........................................................................................ 8-14
d yA

Run Other Rule ............................................................................... 8-15


Chapter Review Questions................................................................... 8-16
an b

Command Summary ............................................................................. 8-18


d

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


ng e
yi vid

9.1 Introduction to Projects.................................................................. 9-2


Practice 9a Create a Configurable Model............................................. 9-3
op ro

Practice 9b Create a Configurable Assembly...................................... 9-7


lc p

Practice 9c Create a Configurable Drawing....................................... 9-11


Al ple

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


A.1 iLogic Design Copy.........................................................................A-2
m

Chapter Review Questions.....................................................................A-6


Sa

Command Summary ...............................................................................A-7

Index ...................................................................................................... Index-1

iv © 2015, ASCENT - Center for Technical Knowledge®


Preface

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

tly r
ric fo
iLogic to automate Autodesk Inventor designs.

In this training guide, students learn how iLogic functionality furthers the use of

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

The main topics in this training guide include:


d yA

• iLogic functionality overview.


an b

• iLogic workflow overview.


d
ng e

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


yi vid

importance in iLogic.

• 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,
Sa

assembly, or drawing file rule.

• Event Triggers and iTriggers.

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

© 2015, ASCENT - Center for Technical Knowledge® v


Autodesk Inventor 2016 iLogic

Note on Software Setup

This training guide assumes a standard installation of the software using the
default preferences during installation. Lectures and practices use the standard
software templates and default options for the Content Libraries.

n. nly
Students and Educators can Access Free Autodesk Software and

de o
Resources

id w
Autodesk challenges you to get started with free educational licenses for

rb ie
professional software and creativity apps used by millions of architects,

fo rev
engineers, designers, and hobbyists today. Bring Autodesk software into your
classroom, studio, or workshop to learn, teach, and explore real-world design
challenges the way professionals do.

tly r
ric fo
Get started today - register at the Autodesk Education Community and download
one of the many Autodesk software applications available.

st T
e EN
Visit www.autodesk.com/joinedu/

Note: Free products are subject to the terms and conditions of the end-user
us C
license and services agreement that accompanies the software. The software is
re S

for personal use for education purposes and is not intended for classroom or lab
use.
d yA
an b
d
ng e
yi vid
op ro
lc p
Al ple
m
Sa

vi © 2015, ASCENT - Center for Technical Knowledge®


In th is Gu id e

n. nly
de o
id w
rb ie
fo rev
The following images highlight some of the features that can be found in this
Training Guide.

tly r
ric fo
st T
e EN Practice Files
us C
The Practice Files page tells
you how to download and install
re S

the practice files that are


d yA

provided with this training guide.


an b
d

FTP link for practice files


ng e
yi vid
op ro
lc p
Al ple

Chapters
Each chapter begins with a brief
introduction and a list of the
m

chapter’s Learning Objectives.


Sa

Learning Objectives for


the chapter

© 2015, ASCENT - Center for Technical Knowledge® vii


Autodesk Inventor 2016 iLogic

n. nly
Instructional Content
Each chapter is split into a
series of sections of

de o
instructional content on specific

id w
topics. These lectures include
the descriptions, step-by-step

rb ie
Side notes procedures, figures, hints, and
Side notes are hints or information you need to achieve

fo rev
additional information for the chapter's Learning
the current topic. Objectives.

tly r
ric fo
st T
e EN
us C
Practice Objectives
re S

Practices
d yA

Practices enable you to use the


software to perform a hands-on
review of a topic.
an b

Some practices require you to


d

use prepared practice files,


which can be downloaded from
ng e

the link found on the Practice


yi vid

Files page.
op ro
lc p
Al ple
m

Chapter Review Questions


Sa

Chapter review questions,


located at the end of each
chapter, enable you to review
the key concepts and learning
objectives of the chapter.

viii © 2015, ASCENT - Center for Technical Knowledge®


In this Guide

Command Summary
The Command Summary is

n. nly
located at the end of each
chapter. It contains a list of the
software commands that are

de o
used throughout the chapter,

id w
and provides information on
where the command is found in

rb ie
the software.

fo rev
tly r
ric fo
st T
e EN Autodesk Certification Exam
Appendix
us C
This appendix includes a list of
re S

the topics and objectives for the


Autodesk Certification exams,
d yA

and the chapter and section in


which the relevant content can
be found.
an b
d
ng e
yi vid

Icons in this Training Guide


op ro
lc p

The following icons are used to help you quickly and easily find helpful
information.
Al ple

Indicates items that are new in the Autodesk Inventor 2016 software.
m
Sa

Indicates items that have been enhanced in the Autodesk Inventor 2016
software.

© 2015, ASCENT - Center for Technical Knowledge® ix


Sa

x
m
Al ple
lc p
op ro
Autodesk Inventor 2016 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

© 2015, 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

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


Autodesk Inventor 2016 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
Figure 1–1
re S

Out-of-the-box
d yA

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


to incorporate intelligence into your designs. The progression of
these solutions in terms of complexity is shown in Figure 1–2.
an b
d
ng e
yi vid
op ro
lc p
Al ple

Figure 1–2
m

• Parameters and equations can be used to relate dimensions


Sa

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 © 2015, ASCENT - Center for Technical Knowledge®


Introduction to iLogic

• The Autodesk Inventor iPart and iAssembly functionality


enables 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 by assigning

n. nly
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 training 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, an
m

engineer-to-order system or sales configurator tool might be


Sa

required to limit the contact points in a sales cycle. This solution


generally requires programming using the Autodesk® Inventor®
Engineer-to-Order Series or other custom-built applications with
considerable investment.

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


Autodesk Inventor 2016 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

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

Length = 90 mm
Al ple

Figure 1–3
m
Sa

1–4 © 2015, 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, assembly components,

de o
or assembly constraints based on conditional statements.

id w
• Perform multiple operations based on a single user input.

rb ie
• Perform checks (iProperties, dimensions, etc.) in the model

fo rev
for design situations.

• Update material and iProperty information in the model.

tly r
ric fo
• Read document information (filename, path, extension, etc.).

st T
• Measure entities in the model.
e EN
• Provide customized feedback based on specified conditions.
us C
• Drive iFeature, iPart, and iAssembly configurations.
re S
d yA

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

• Interface directly with a predefined form to assign parameter


an b

values.
d

• Control drawing size, borders, and title block information


ng e

based on user entry.


yi vid

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


op ro
lc p
Al ple
m
Sa

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


Autodesk Inventor 2016 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 © 2015, 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 training 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.

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


Autodesk Inventor 2016 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 part geometry 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 © 2015, 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.

tly r
The 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 2016>


d yA

Autodesk Inventor 2016 or double-click on the Autodesk


Inventor 2016 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 2016 iLogic
for the entire training Practice Files (or the directory of the installation files if you
op ro

material. changed the default directory), and select iLogic.ipj. Click


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.


m

4. Click Done.
Sa

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


Autodesk Inventor 2016 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
parameter enables you to select from five material types.
us C
re S

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


d yA

key model parameters (Length, Clip_Angle, Thickness,


and Width) are also used in the iLogic rules.
an b

8. Close the Parameters dialog box.


d
ng e

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


yi vid

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


op ro

toggle on the display of the iLogic browser. The browser


lc p

displays embedded above or below the Model browser on the


left side of the interface or might open as a floating browser. If
Al ple

floating, drag it to the bottom of the Model browser to dock it.

2. In the Rules tab in the iLogic browser, note that seven iLogic
m

rules have been created in the model. Their descriptive


Sa

names help to identify their purposes. For example, the


Clip_Color rule controls the clip color based on the material
type that is selected.

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


dialog box. This dialog box is used to program all of the iLogic
rules. Click Cancel to close the dialog box without making
any changes.

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


Introduction to iLogic

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

5. Click Clip Configuration to open the Clip Configuration form,


as shown in Figure 1–7.

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

Figure 1–7
an b

Each of the items in the form drives the following changes in


the model:
d

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


ng e

drop-down list of available client names.


yi vid

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


materials.
op ro

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


lc p

drop-down list of the available sizes.


Al ple

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
m

and you are provided permitted range of values is 35 to 70mm.


Sa

with feedback. • 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.

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


Autodesk Inventor 2016 iLogic

6. Change the model’s configuration by selecting and entering


values for each of the fields.

7. The model updates with the changes as you make selections


in the drop-down lists, or when you press <Enter> after
entering a value.

n. nly
8. Click Done to close the form.

de o
9. Close the model without saving.

id w
rb ie
Task 3 - Launch an iLogic form to configure the assembly.

fo rev
1. Open Mechanical Pencil_Complete.iam in the Overview
folder. The model displays as shown in Figure 1–8.

tly r
ric fo
st T
e EN
us C
re S
d yA
an b
d
ng e
yi vid

Figure 1–8
op ro

To set the LOD 2. The assembly should open in the iLogic LOD representation.
representation, expand If not, set the iLogic representation as the active Level of
lc p

the Representations Detail. This representation is required for the Grip Style iLogic
and Level of Detail rule to run correctly. This is discussed in the Assembly
Al ple

nodes in the Model functions content.


browser, and
m

double-click on iLogic. 3. In the iLogic browser, select the Rules tab. The rules
provided enable customization of the assembly.
Sa

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

1–12 © 2015, 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

Figure 1–9
yi vid

Each of the items in the form drive changes in the assembly


and clip models. Many of the options are the same as in the
op ro

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
lc p

the assembly is the Grip Style. This controls how the grip
Al ple

geometry is represented in the assembly.

6. Change the assembly’s configuration by selecting and


m

entering values. The components display the changes as


selections are made, or when you press <Enter> after
Sa

entering a value.

7. Click Done to close the form.

8. Close the model without saving.

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


Autodesk Inventor 2016 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. .iParts

id w
c. .iAssemblies

rb ie
d. .iLogic

fo rev
e. .API Programming
f. .Autodesk Inventor Engineer-to-Order Series

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 © 2015, ASCENT - Center for Technical Knowledge®

You might also like