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 ?

Esteemed Contributor
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 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


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

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

 

 

Ganesh Kadole, QA Analyst (PLM), SQS
Testing: NX 10 | NX 11 | TCIN
TC 11.2 | TC Vis 11.3 | AWC 3.2

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 | C# | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5