ME Week 5 Project 4 ilogic Part 3

Similar documents
ME Week 4 Project 3 Designing in Context

Office 2010: New Features Course 01 - The Office 2010 Interface

Chart Wizard: Step 1 (Chart Types)

SPREADSHEET (Excel 2007)

Making Excel Work for Your Tribal Community

Technology Is For You!

The Professional Services Of Dojo Technology. Spreadsheet Files

2013 INTERMEDIATE MANUAL

Excel & Business Math Video/Class Project #39 Create Invoices in Excel with Data Validation Drop-down, VLOOKUP & IF Functions

Microsoft Access 2010

Microsoft Access 2013

Microsoft Access 2013

1. Right-click the worksheet tab you want to rename. The worksheet menu appears. 2. Select Rename.

Formatting Spreadsheets in Microsoft Excel

Microsoft Office Excel 2007: Basic Course 01 - Getting Started

Excel Advanced

Inserting or deleting a worksheet

1. What tool do you use to check which cells are referenced in formulas that are assigned to the active cell?

Configurations generally do a job for items that are fairly static in sizes, but if you want vast variability DriveWorksXpress is the way to go.

Reference Services Division Presents. Excel Introductory Course

MAILMERGE WORD MESSAGES

WEEK NO. 12 MICROSOFT EXCEL 2007

Excel Level Three. You can also go the Format, Column, Width menu to enter the new width of the column.

Microsoft Excel Microsoft Excel

Introduction to Microsoft Excel 2010 Quick Reference Sheet

Tutorial 3 - Performing a Change-Point Analysis in Excel

Project 3. Top Down Design In Context. Below are the desired outcomes and usage competencies based upon the completion of this Project.

2. create the workbook file

Exchange Address Book Order

Starting Excel application

Lesson 13: Other Tools in OrCAD Capture

Timecard history can be queried for a number of valuable reports. Begin by accessing the his_timecard table in a query.

Creating and Using an Excel Table

Microsoft Power Tools for Data Analysis #5 Power Query: Append All Tables in Current Workbook Notes from Video:

Tutorial 14: R3-8 Signs

#SEU Welcome! Solid Edge University 2016

Working with Data in Microsoft Excel 2010

Section 33: Advanced Charts

Pivot Tables and Pivot Charts Activities

Microsoft Access 2010

Spring Assembly. in the Begin Assembly Property. on the Standard toolbar and click Add-Ins.

Basic Math in Microsoft Excel

Tutorial 1. Creating a Database

INSERT SUBTOTALS Database Exercise Sort the Data Department Department Data Tab Sort and Filter Group

MICROSOFT EXCEL BIS 202. Lesson 1. Prepared By: Amna Alshurooqi Hajar Alshurooqi

1. Position your mouse over the column line in the column heading so that the white cross becomes a double arrow.

OPENING A LEADS.TXT FILE IN EXCEL 2010

ME Week 5 Project 2 ilogic Part 1

Ms excel. The Microsoft Office Button. The Quick Access Toolbar

GCSE CCEA GCSE EXCEL 2010 USER GUIDE. Business and Communication Systems

ME Week 4 Project 2 Assembly Interaction

Home page. Set Do Not Disturb. Set call forwarding

Introduction to Microsoft Excel

Excel Main Screen. Fundamental Concepts. General Keyboard Shortcuts Open a workbook Create New Save Preview and Print Close a Workbook

3/31/2016. Spreadsheets. Spreadsheets. Spreadsheets and Data Management. Unit 3. Can be used to automatically

Module 4 : Spreadsheets

People are more likely to open and read a letter than a generic letter addressed to sir, madam or to whom it may concern.

ME Week 3 Project 3 - Plastic Part Thicken Method

EXCEL 2007 TIP SHEET. Dialog Box Launcher these allow you to access additional features associated with a specific Group of buttons within a Ribbon.

Office of Instructional Technology

SAFARI General Instructions

Microsoft Access 2013

Contour Plots for Slab Elevation Data using MathCAD. John M. Clark Clark Engineers, Inc. May 8, 2013

Watch the video below to learn more about inspecting and protecting workbooks. *Video removed from printing pages

Assignment 1 MIS Spreadsheet (Excel)

PivotTables & Charts for Health

Linking a Table to Excel Data

Lab Assignment #1: Introduction to Creo ME 170

MAIL MERGE FWIS COMPUTER SECTION BY MR. BASIM SHAHIN

Unit 3 Fill Series, Functions, Sorting

Unit 3 Functions Review, Fill Series, Sorting, Merge & Center

Introduction. Inserting and Modifying Tables. Word 2010 Working with Tables. To Insert a Blank Table: Page 1

Microsoft Excel 2007 Beginning The information below is devoted to Microsoft Excel and the basics of the program.

MA416-9L: A View from the Top: Top-Down Design Methods in Autodesk Inventor

ME Week 11 Create Joints Project

To complete this workbook, you will need the following file:

Excel 2016 Basics for Windows

Excel Intermediate. Click in the name column of our Range of Data. (Do not highlight the column) Click on the Data Tab in the Ribbon

Microsoft Office Excel 2007: Basic. Course Overview. Course Length: 1 Day. Course Overview

Formulas and Functions

A Brief Word About Your Exam

Excel 2010-Part. Two

Excel 2. Module 2 Formulas & Functions

Inventor 2011 Tutorials ilogic Vessel - Part 5 Skirt Development

A cell is highlighted when a thick black border appears around it. Use TAB to move to the next cell to the LEFT. Use SHIFT-TAB to move to the RIGHT.

DriveWorksXpress Tutorial

Creating Labels using Label Designer

Unit 12. Electronic Spreadsheets - Microsoft Excel. Desired Outcomes

Grapher 10 Ribbon Bar

ADJUST TABLE CELLS-ADJUST COLUMN AND ROW WIDTHS

Excel VLOOKUP. An EMIS Coordinator s Friend

MA316-1L ilogic For Dummies

Creating and Managing Autodesk Inventor Nesting Utility Templates

Microsoft Excel Chapter 2. Formulas, Functions, and Formatting

Introduction to Mail Merge. Use IT+

More Skills 12 Create Web Queries and Clear Hyperlinks

Excel Tables and Pivot Tables

Hands-On Lab. Developing BI Applications. Lab version: Last updated: 2/23/2011

IITS Workshop Creating a Gradebook in Microsoft Office Excel 2007

Excel: Linking sheets and summary sheets (Mac OS)

Transcription:

1 Project 4 - Use FindRow Excel Snippet 1.1 Parameter Setup In this section of the project, you will retrieve data from Excel to set a multi-value list for a parameter, then identify which row will be used when using the FindRow snippet. 1. Using the Intro to CAD & CAE.ipj 2. Open CFR 2RS.ipt. 3. Modify the parameter in Sketch1. Change d1 to RD ME 24-688 Introduction to CAD/CAE Tools Page 1 of 12

4. On the Ribbon, go to the Manage Tab > ilogic Panel > Add Rule The Rule Name dialog appears. Enter Cam Follower. Click OK 5. In the Edit Rule: Cam Follower dialog box, use the If...Then... conditional statement from the panel above the program space to insert conditions in the rule. Place a statement. Change My_Expression to Units = "Metric" Under the Model tab, click on User Parameters to display them in the Parameters tab Under the Parameters tab, above the program space, double-click on UnitMultiplier to add it below your If statement Set UnitMultiplier equal to 1.0 mm Place an ElseIf Then statement using the pull down menu next to the If...Then... button Change My_Expression to Units = "Inch" Under the Parameters tab, above the program space, double-click on UnitMultiplier to add it below your ElseIf statement Set UnitMultiplier equal to 1.0 in If Units = "Metric" Then UnitMultiplier = 1.0 mm ElseIf Units = "Inch" Then UnitMultiplier = 1.0 in ME 24-688 Introduction to CAD/CAE Tools Page 2 of 12

6. Open Cam Follower.xls. Note the Title row Under METRIC SERIES, they are in Row 2 Under INCH SERIES, they are in Row 12 7. Add a TitleRow snippet In the System Snippets tab, expand Excel Data Links and scrub over TitleRow to see the description Double-click on TitleRow to add the snippet below the If statement and repeat it under the ElseIF statement Set the snippet under the If statement equal to 2 Set the snippet under the ElseIf statement equal to 12 If Units = "Metric" Then UnitMultiplier = 1.0 mm GoExcel.TitleRow = 2 ElseIf Units = "Inch" Then UnitMultiplier = 1.0 in GoExcel.TitleRow = 12 ME 24-688 Introduction to CAD/CAE Tools Page 3 of 12

8. Set the MultiValue List for BearingNumber Double-click on MultiValue list from Excel to add the snippet below the If statement and repeat it under the ElseIF statement If Units = "Metric" Then UnitMultiplier = 1.0 mm GoExcel.TitleRow = 2 MultiValue.List("BearingNumber") = GoExcel.CellValues ("CamFollower.xls", "Sheet1", "A3", "A8") ElseIf Units = "Inch" Then UnitMultiplier = 1.0 in GoExcel.TitleRow = 12 MultiValue.List("BearingNumber") = GoExcel.CellValues ("CamFollower.xls", "Sheet1", "A13", "A19") ME 24-688 Introduction to CAD/CAE Tools Page 4 of 12

9. Under the System Snippets, expand Parameters and add SetValueOptions (on) before the If statement. MultiValue.SetValueOptions(True, DefaultIndex := 0) If Units = "Metric" Then UnitMultiplier = 1.0 mm GoExcel.TitleRow = 2 MultiValue.List("BearingNumber") = GoExcel.CellValues ("CamFollower.xls", "Sheet1", "A3", "A8") ElseIf Units = "Inch" Then UnitMultiplier = 1.0 in GoExcel.TitleRow = 12 MultiValue.List("BearingNumber") = GoExcel.CellValues ("CamFollower.xls", "Sheet1", "A13", "A19") ME 24-688 Introduction to CAD/CAE Tools Page 5 of 12

10. Under the Parameters tab, above the program space, double-click on RowNumber to add it below your statements 11. Set RowNumber equal to the FindRow snippet under the Excel Data Links MultiValue.SetValueOptions(True, DefaultIndex := 0) If Units = "Metric" Then UnitMultiplier = 1.0 mm GoExcel.TitleRow = 2 MultiValue.List("BearingNumber") = GoExcel.CellValues("Cam Follower.xls", "Sheet1", "A3", "A8") ElseIf Units = "Inch" Then UnitMultiplier = 1.0 in GoExcel.TitleRow = 12 MultiValue.List("BearingNumber") = GoExcel.CellValues("Cam Follower.xls", "Sheet1", "A13", "A19") RowNumber = GoExcel.FindRow("Cam Follower.xls", "Sheet1", "Bearing Number", "=", BearingNumber) 12. Click OK in the Edit Rule dialog box. The rule will run. 13. From the Ribbon Manage Tab > Parameters Panel < select Parameters. ME 24-688 Introduction to CAD/CAE Tools Page 6 of 12

14. In the Parameters dialog box, change the Units and BearingNumber parameters in the Parameters dialog Box. Select INCH from the Units pull down menu. Select CFR 2RS-2 from the BearingNumber pull down menu. Verify RowNumber = 16 ul and that it is the correct row in the spreadsheet. ME 24-688 Introduction to CAD/CAE Tools Page 7 of 12

1.2 Set Parameters from Row This section of the project you will retrieve data from Excel to set values for parameters using the CurrentRowValue snippet. 15. Right click on Cam Follower and select Edit Rule. 16. Set the parameter RD equal to CurrentRowValue Double click on the RD parameter from the Model Parameters to add it to the program space. NOTE: This code must be added after the FindRow snippet in the program space. RowNumber = GoExcel.FindRow("Cam Follower.xls", "Sheet1", "Bearing Number", "=", BearingNumber) RD = GoExcel.CurrentRowValue("Roller Diameter RD") ME 24-688 Introduction to CAD/CAE Tools Page 8 of 12

17. Convert the Units Multiply the results from Excel by UnitMultiplier RowNumber = GoExcel.FindRow("Cam Follower.xls", "Sheet1", "Bearing Number", "=", BearingNumber) RD = GoExcel.CurrentRowValue("Roller Diameter RD") * UnitMultiplier 18. Repeat the previous two steps for WD, SD, SL, EL, HEX. RowNumber = GoExcel.FindRow("Cam Follower.xls", "Sheet1", "Bearing Number", "=", BearingNumber) RD = GoExcel.CurrentRowValue("Roller Diameter RD")* UnitMultiplier WD = GoExcel.CurrentRowValue("Roller Width WD")* UnitMultiplier SD = GoExcel.CurrentRowValue("Stud Diameter SD")* UnitMultiplier SL = GoExcel.CurrentRowValue("Stud Length SL")* UnitMultiplier EL = GoExcel.CurrentRowValue("Endplate Extension EL")* UnitMultiplier HEX = GoExcel.CurrentRowValue("Hex Socket HEX")* UnitMultiplier 19. Click OK in the Edit Rule dialog box. 20. Change the Units and BearingNumber parameter in the Parameters dialog box using the pull down box. ME 24-688 Introduction to CAD/CAE Tools Page 9 of 12

1.3 Set Parameters from Row This section of the project you use ilogic to suppress and unsuppressed features. 21. Add a Thread feature Uncheck the Full Length check box Set and name the Length parameter TL=10mm Rename the feature Metric Thread. Right click on the feature and select Suppress Features ME 24-688 Introduction to CAD/CAE Tools Page 10 of 12

22. Add another Thread feature Set the Length parameter equal to TL On the Specification tab under Thread Type select ANSI Unified Screw Threads Rename the feature Inch Thread 23. Right-click on Cam Follower and select Edit Rule. 24. Suppress the Inch Thread and unsuppress Metric Thread when the units are Metric Under the If statement, right-click on the Metric Thread feature and select Capture Current State All the Parameters referenced by the thread are added to the rule. Delete everything but the Feature.IsActive line and set it equal to True If Units = "Metric" Then UnitMultiplier = 1.0 mm GoExcel.TitleRow = 2 MultiValue.List("BearingNumber") = GoExcel.CellValues("Cam Follower.xls", "Sheet1", "A3", "A8") ' ***Metric Thread*** Feature.IsActive("Metric Thread") = True 25. Repeat the previous step for the Inch Thread but set it equal to False ME 24-688 Introduction to CAD/CAE Tools Page 11 of 12

26. Under the ElseIf statement repeat the previous two steps but set Metric Thread = False and the Inch Thread = True. Copy and paste can also be used. ElseIf Units = "Inch" Then UnitMultiplier = 1.0 in GoExcel.TitleRow = 12 MultiValue.List("BearingNumber") = GoExcel.CellValues("Cam Follower.xls", "Sheet1", "A13", "A19") ' ***Metric Thread*** Feature.IsActive("Metric Thread") = False ' ***Inch Thread*** Feature.IsActive("Inch Thread") = True 27. Add If statements for both the Inch Thread and the Metric Thread at the bottom of the rule. If Feature.IsActive("Inch Thread") Then Feature.ThreadDesignation("Inch Thread") = GoExcel.CurrentRowValue("Fine Threads") If Feature.IsActive("Metric Thread") Then Feature.ThreadDesignation("Metric Thread") = GoExcel.CurrentRowValue("Fine Threads") 28. Click OK in the Edit Rule dialog box. 29. Change the Units parameter in the Parameters dialog box using the pull down box. 30. Close the file. Do NOT save. 31. The File result has been provided it is named CFR 2RS_with_rule.ipt ME 24-688 Introduction to CAD/CAE Tools Page 12 of 12