Excel Analysis Features in Creo Parametric 4.0

Microsoft Excel is an application that many companies use to perform calculations for their designs. The Behavioral Modeling Extension (BMX) enables Excel to be integrated directly into the Creo Parametric 4.0 model so that the model conforms to your design requirements. This integration is accomplished using an Excel Analysis analysis feature that references an external Excel file to make calculations. Once an Excel spreadsheet is created, it can be easily referenced by multiple models.

Consider the model shown below:

Fig6-5

A spreadsheet  can be used to drive the geometry based values and calculations in the spreadsheet. An example spreadsheet is shown below:

Excel_1

In this spreadsheet, the cells highlighted in blue are values that come from Creo. These values can be dimensions or parameters. In Creo, you create an Excel Analysis feature. In the Excel Analysis dialog box, you click the Add Dimension button and select a dimension from the model, then select the applicable cell. For example, you could select the THICKNESS dimension shown below:

Dimensions

Then, select cell B4 in the spreadsheet above. The value of THICKNESS in the Creo model will replace the value in the spreadsheet. This process is then repeated until you have extracted all the values you require from the Creo model.

You can use the power of Excel to conduct multiple calculations, then can push the results of those calculations back to Excel to drive the geometry.To do so, in the Excel analysis dialog box, you click Output Cells, then select the cells in Excel where the calculated results are found.

For example, if we were using the spreadsheet to calculate the Total Heat Transfer, you would select cell D65 from the spreadsheet shown below:

Excel_2

In the ANALYSIS dialog box, you can create a parameter from the result or results returned to Creo, as shown below:

Fig6-4

Note that the default naming convention is XL_ROW#_COL# but you are of course free to change that to something more meaningful.

In our example, when changes are made to the geometry - say the number of fins or some other geometrical change, the spreadsheet will be loaded, values will be passed from Creo to the spreadsheet, calculations will occur in the spreadsheet, then values will be passed back to the Creo model.

It should be noted that Creo stores the full path to the spreadsheet in the model. If the spreadsheet can't be found, the model will still regenerate, but will use the last known values. You may want to use the config.pro option excel_analysis_directory to set a fixed path to your excel analysis spreadsheets.

Using Excel Analysis Features allow you to avoid creating very complicated relations in the model. You can use the power of Excel to do some of the heavy lifting for you, and to take advantage of data and calculations that have previously been setup.

Take some time to experiment with Excel Analysis features, and I think you will find them to be a very powerful design tool.

About the Author

Scott Hendren

Learning Content Developer<br><br>Scott Hendren has been a trainer and curriculum developer in the PLM industry for over 20 years, with experience on multiple CAD systems, including Pro/ENGINEER, Creo Parametric, and CATIA. Trained in Instructional Design, Scott uses his skills to develop instructor-led and web-based training products. Scott has held training and development positions with several PLM companies, and has been with the ASCENT team since 2013. Scott holds a Bachelor of Mechanical Engineering Degree as well as a Bachelor of Science in Mathematics from Dalhousie University, Nova Scotia, Canada.

More Content by Scott Hendren
Previous Article
Updating Set Datums to Datum Feature Symbols in Creo Parametric 4.0
Updating Set Datums to Datum Feature Symbols in Creo Parametric 4.0

If you are new to Creo Parametric 4.0, and have started working with drawings or the Model Based Definition...

Next Video
Creo 4.0 Updates
Creo 4.0 Updates

Join ASCENT Creo author and subject matter expert, Scott Hendren, as he discusses some of the many updates ...

Creo Parametric Sample Chapters

Learn More