of 45 /45
© 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

Embed Size (px)

Text of © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk...

Page 1: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Dario NicoliniProduct Manager

Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

Page 2: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Class Summary

In this class you will explore how Autodesk® Inventor® iLogic manages all Autodesk® Inventor® features, the approach to create a new iLogic project, problem analysis and its synthesis in order to improve your productivity.You will also learn how to create and manage iLogic parameters, rules, interfaces and how to work with Autodesk® Inventor® iLogic Events.

Page 3: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Learning Objectives

At the end of this class, you will be able to: Describe how iLogic works Create and manage iLogic parameters Add and manage iLogic rules Work with events and interfaces Describe our experience

Page 4: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 1: Describing how iLogic works

Dario NicoliniProduct Manager

Page 5: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Learning Objectives

At the end of this section, you will be able to: Describe what iLogic is Explore all iLogic commands Describe what you can do with iLogic

Page 6: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: what is it?

Autodesk® Inventor® standard Add-in Available on every Autodesk® Inventor® package Integrate VB.NET language Available on parts, assemblies and drawings Rules based Every rule manages Autodesk® Inventor®

Parameters

Page 7: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: commands

Ribbon Tab Manage Ribbon Panel iLogic “Add Rule” is the main command “iLogic browser” shows all rules in the file “Event Triggers” manages all Autodesk® Inventor® Events “iTrigger” can automatically execute a rule

Page 8: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: features

Easy to use Autodesk® Inventor® Objects easy management Accessible for programmers and non programmers Integration with external .dll (VB.Net, C#...) Code Snippet

Page 9: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk, AutoCAD* [*if/when mentioned in the pertinent material, followed by an alphabetical list of all other trademarks mentioned in the material] are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2012 Autodesk, Inc. All rights reserved.

Page 10: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 2: Creating and managing iLogic parameters

Dario NicoliniProduct Manager

Page 11: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Learning Objectives

At the end of this section, you will be able to: Explore key parameters and standard parameters Describe the parameter types Add new Multi-Value parameters

Page 12: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic Parameters

Numeric, Boolean or Textual parameters Single-Value or Multi-Value parameters Key or not key Parameters

Page 13: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic Parameters

Numeric Parameter double, integer… True/False parameter boolean Text parameter string

numeric = 10

numeric2 = 5,5

string1 = “New string value”

boolean1 = True

boolean2 = False iProperties.Value("Project","Description") = string1 iProperties.Value("Custom",“IsActive") = boolean1

Page 14: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Multi-Value parameter

Right click on parameter

Type text and

click

add

Page 15: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Multi-Value parameter

Click OK to confirm

Page 16: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk, AutoCAD* [*if/when mentioned in the pertinent material, followed by an alphabetical list of all other trademarks mentioned in the material] are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2012 Autodesk, Inc. All rights reserved.

Page 17: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 3: Adding and managing iLogic rules

Dario NicoliniProduct Manager

Page 18: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Learning Objectives

At the end of this section, you will be able to: Differentiate internal rules and external rules Browse file rules Add new rules Work with code snippet Advanced code snippet

Page 19: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: internal and external rules

Internal Rule: plus Embedded into files Specific for files features

Internal Rule: minus Private for active document

External Rule: plus Public for all files Useful for general features

External Rule: minus Not embedded into files

Page 20: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: browse rules

Rules browsing by clicking on “iLogic Browser” Internal and external rule are shown Rule management directly from the browser

Page 21: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Add rule

“Add Rule” command or right click on rule browser Rules have a name Rules have a content

Rule content

Page 22: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: code snippet

Piece of code ready to be used Double click to insert it in rules Available on internal and external rules

Double click

Page 23: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: advanced code snippet

Run Other, Advanced Drawing API and Advanced API Developer skill necessary Complete control of all Inventor Objects

Page 24: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk, AutoCAD* [*if/when mentioned in the pertinent material, followed by an alphabetical list of all other trademarks mentioned in the material] are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2012 Autodesk, Inc. All rights reserved.

Page 25: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 4: Working with events and interfaces

Dario NicoliniProduct Manager

Page 26: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Learning Objectives

At the end of this section, you will be able to: Describe how event works Explore iLogic events Link a rule to an event Describe how is an interface Create new interfaces Show an interface in a rule

Page 27: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic Events

Fired when in Inventor something change Pre-Event and Post-Event

Post-EventEventPre-Event

Page 28: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic Events

“Event Triggers” command Application Events, Document Events

Application

Events

Document

Events

Page 29: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: link rule to Event

Access via “Event Triggers” command to iLogic Events Right click on event Link the rule to the selected event

Page 30: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Interfaces

Visual descriptor of the data entry Private or Global interfaces Modal or Not Modal

Page 31: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Create a new interface

Creation through “iLogic Browser” Drag&drop feature available Objects direct editing through the interface

Page 32: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: interfaces and rules

Page 33: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk, AutoCAD* [*if/when mentioned in the pertinent material, followed by an alphabetical list of all other trademarks mentioned in the material] are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2012 Autodesk, Inc. All rights reserved.

Page 34: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 5: Describing our experience

Dario NicoliniProduct Manager

Page 35: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Learning Objectives

At the end of this section, you will be able to: Find which types of components can become iLogic components Face problem analysis and its synthesis Transform old components into new iLogic components

Page 36: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic components: Which?

Modular components Similar components Components that differ in their dimensions

Industry segments: Industrial machinery Plant Building Architecture

Page 37: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Problem analysis

Parameters analysis (key, not key, multi-value…) Features analysis (Work Features, iFeature…) Model structure analysis (embedded .xls, derive components…)

Page 38: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Problem synthesis

Define all products families Define family parameters and features Identify the family model logics

Page 39: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Components to iLogic components family

•According to problem synthesis

Redesign

•iLogic parameters•iLogic rules•iLogic links between parts and assemblies

Define •Parameters structure•Rules structure•Links structure

Create

•Test the behavior

Test

Page 40: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Redesign…

Create general features in order to create a “template” file Design thinking to family and not to component Use a scheme name for component features

ProductsProductsTemplate

Page 41: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Define…

Define Parameters: key, not key, multi-value… Define rules: part rules and assembly rules Define rules links

Page 42: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

iLogic: Create…

Parameters structure Rules structure Links structure

Page 43: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

References and resources Wikipedia: http://en.wikipedia.org Autodesk® WikiHelp: http://wikihelp.autodesk.com/enu Autodesk® Discussion Groups: http://forums.autodesk.com/# Prisma Tech: http://www.prisma-tech.it/

Prisma TECH Facebook profile

Prisma TECH YouTube Channel

Page 44: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Class SummaryBy now you should be able to work with iLogic, manage and create iLogic parameters and rules, use Autodesk Inventor Events and create user interfaces that help user to manage input data, analyze iLogic components thinking to their configurability, redesign components in order to create iLogic components.

Feel free to contact me for any Autodesk® Inventor® iLogic questions.Thanks for your time!

Dario Nicolini – Prisma Tech [email protected]

Page 45: © 2012 Autodesk Dario Nicolini Product Manager Autodesk ® Inventor ® iLogic: a great Autodesk tool to improve Inventor features

© 2012 Autodesk

Autodesk, AutoCAD* [*if/when mentioned in the pertinent material, followed by an alphabetical list of all other trademarks mentioned in the material] are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2012 Autodesk, Inc. All rights reserved.