Cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to change feature parameters with imported csv or excel data ?

Experimenter
Experimenter

Hi everybody,


what is the easiest way to import values via csv or excel files
to change specific feature parameters, e.g.hole diameters,  pocket lengths etc.?

The scope is to create an application which reads said file and changes defined parameters of a part.

This is my desire workflow :

Have the part open, click the button 'Import Parameters', select a csv- or excel file with a list of features and their values and NX changes defined parameters in the open part (and saves it as new part).


What are the right steps to accomplish my plan?
I am a rookie and I´d be thankful for any kind of help.

 

Thank you for your time

Using NX 10 


3 REPLIES

Re: Best way to change feature parameters with imported csv or excel data ?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

If the feature parameter sizes are based on a standard set of expressions, you can just import an expressions file (? .exp?)

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Re: Best way to change feature parameters with imported csv or excel data ?

Siemens Phenom Siemens Phenom
Siemens Phenom

NX expressions can be exported and imported. The file will have .exp extension which can be edited using text editor or excel.

 

First define some expressions and export them.  Open the exported file (.exp) in excel and add additional expressions, save it. Ensure the format and unit of expressions.

 

texp.PNG

 

texp1.PNG

 

Import the edited expression file in NX.

 

texp2.PNG

 

Tools > Spreadsheet.

In excel, Add ins tab, Extract Expr and edit the values of expressions > Update NX Part.

 

texp3.PNG

 

 

Re: Best way to change feature parameters with imported csv or excel data ?

Phenom
Phenom

I don't use Part Families, but this sounds like a potential solution for what you want.

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | KF
Production: [NX8.5.3.3 MP11 64bit] Testing: [NX12.0.0.27 MP1]