VitaminM
Mechanical
- Nov 18, 2007
- 8
I've modeled an impeller blade using x,y,z points read from an Excel spreadsheet. My goal is to have a model that can be used for many impellers simply by changing the Excel file.
A typical parameter is defined as follows:
p20 = ug_cell_read("C:\My Documents\spreadsheet.xls", "AE31")
Other users won't store their spreadsheets as "C:\My Documents...." but rather as a different filename.
Can I create a parameter that defines the filename/location? Something like...
p21 = "spreadsheet.xls"
p22 = ug_cell_read("p21", "AE31")
?
A typical parameter is defined as follows:
p20 = ug_cell_read("C:\My Documents\spreadsheet.xls", "AE31")
Other users won't store their spreadsheets as "C:\My Documents...." but rather as a different filename.
Can I create a parameter that defines the filename/location? Something like...
p21 = "spreadsheet.xls"
p22 = ug_cell_read("p21", "AE31")
?