© 2012 autodesk dario nicolini product manager autodesk ® inventor ® ilogic: a great autodesk...
TRANSCRIPT
© 2012 Autodesk
Dario NicoliniProduct 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.
© 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
© 2012 Autodesk
Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 1: Describing how iLogic works
Dario NicoliniProduct Manager
© 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
© 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
© 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
© 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
© 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.
© 2012 Autodesk
Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 2: Creating and managing iLogic parameters
Dario NicoliniProduct Manager
© 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
© 2012 Autodesk
iLogic Parameters
Numeric, Boolean or Textual parameters Single-Value or Multi-Value parameters Key or not key Parameters
© 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
© 2012 Autodesk
iLogic: Multi-Value parameter
Right click on parameter
Type text and
click
add
© 2012 Autodesk
iLogic: Multi-Value parameter
Click OK to confirm
© 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.
© 2012 Autodesk
Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 3: Adding and managing iLogic rules
Dario NicoliniProduct Manager
© 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
© 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
© 2012 Autodesk
iLogic: browse rules
Rules browsing by clicking on “iLogic Browser” Internal and external rule are shown Rule management directly from the browser
© 2012 Autodesk
iLogic: Add rule
“Add Rule” command or right click on rule browser Rules have a name Rules have a content
Rule content
© 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
© 2012 Autodesk
iLogic: advanced code snippet
Run Other, Advanced Drawing API and Advanced API Developer skill necessary Complete control of all Inventor Objects
© 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.
© 2012 Autodesk
Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 4: Working with events and interfaces
Dario NicoliniProduct Manager
© 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
© 2012 Autodesk
iLogic Events
Fired when in Inventor something change Pre-Event and Post-Event
Post-EventEventPre-Event
© 2012 Autodesk
iLogic Events
“Event Triggers” command Application Events, Document Events
Application
Events
Document
Events
© 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
© 2012 Autodesk
iLogic: Interfaces
Visual descriptor of the data entry Private or Global interfaces Modal or Not Modal
© 2012 Autodesk
iLogic: Create a new interface
Creation through “iLogic Browser” Drag&drop feature available Objects direct editing through the interface
© 2012 Autodesk
iLogic: interfaces and rules
© 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.
© 2012 Autodesk
Autodesk® Inventor® iLogic: a great Autodesk tool to improve Inventor featuresModule 5: Describing our experience
Dario NicoliniProduct Manager
© 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
© 2012 Autodesk
iLogic components: Which?
Modular components Similar components Components that differ in their dimensions
Industry segments: Industrial machinery Plant Building Architecture
© 2012 Autodesk
iLogic: Problem analysis
Parameters analysis (key, not key, multi-value…) Features analysis (Work Features, iFeature…) Model structure analysis (embedded .xls, derive components…)
© 2012 Autodesk
iLogic: Problem synthesis
Define all products families Define family parameters and features Identify the family model logics
© 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
© 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
© 2012 Autodesk
iLogic: Define…
Define Parameters: key, not key, multi-value… Define rules: part rules and assembly rules Define rules links
© 2012 Autodesk
iLogic: Create…
Parameters structure Rules structure Links structure
© 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
© 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]
© 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.