Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
3/3/2014
This is a simple Visual Basic If-ElseEnd If code block that really does not need any explanation. Click OK to close the dialog box and save the rule. If you made a mistake in typing the code dialog box will pop up telling you so. Thats it! You have created a rule that your model will obey. Open the Parameters dialog box and you will notice a new column called Driving Rule with the rule you just created for Length and Height . Also notice that the values of Length and Height are 2 and 0.5 respectively which obeys the rule since the value for Breadth is 1. Now change the value of Breadth to 2. Notice that the rule kicks in and the values of Length and Breadth change to 2. Also notice that the box in the graphics window has now become a 2x2x2 cube. Note that this rule is stored internally in the Inventor IPT file and not somewhere else on your computer. So if you sent the IPT file to someone else, your rules will go along with it. This point of this very simple example is just to explain the basic concepts involved in iLogic. As you can imagine you can do far more sophisticated stuff. To get an idea take a look at this video by Rob Cohee, Industry Solution Evangelist of the Autodesk Manufacturing Industry Group. All of the above already existed in Inventor 2010 iLogic add-in. In the next part of this series I will discuss the new features that Autodesk has added to iLogic. Part 2 >>
http://www.deelip.com/?p=1676 2/3
3/3/2014
http://www.deelip.com/?p=1676
3/3