Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

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

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 ?

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


Solution
Solution
Accepted by topic author Optokoppler
‎03-31-2017 08:27 AM

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

 

 

Testing NX10 | NX11| TC-NX Integration
Teamcenter 11.2 | TC Vis 11.3 | Active Workspace 3.2

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

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