cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Can i edit parameters in excel

jpersson
1-Visitor

Can i edit parameters in excel

Is there any way to Work with the parameters in part (like a BOM in excel) and edit the paramters for all parts in a assembly.

I konw how to do it in the modell tree with chowing collums, but i would like to be albe to do it in a spread sheet.

4 REPLIES 4

Jan,

You can export to a CSV file from the Parameters window - File > Export, but it's not possible to import the excel sheet back into parameters.

Thanks,

Amit

31144822_0fix.jpg

While not really a parameter import, you can use ModelCheck in update mode to set parameters in your model.

Before the copy/paste of parameters between models was made easy, we created scripts to do it, and you should be able to do the same type of thing if you're really bent on using Excel to edit parameter values.

Essentially you'd need to use the information in the Excel file to generate a ModelCheck file (something like set_params.mcs) that simply sets the model parameters to your values.  You should be able to do this easily either inside Excel or by extracting the data outside of Excel after exporting/saving it to a .csv or .txt file.

For example, the .mcs file contents would look similar to:
PRT_PARAMETER CAGE_CODE STR EQ 12345
PRT_PARAMETER MODELED_BY STR EQ JANE DOE

You then run ModelCheck in update mode using the new .mcs file, and the parameters in your model are now set to the new values you generated in Excel.

Obviously, this is just a rough overview of what you'd need to do, but you should be able to automate most if not all of this with mapkeys, script files, AutoIT scripts (great for manipulating windows), etc.

Regards,

Dan N.

Perfect!

Exactly what i need, Thanks!

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags