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
Solved! Go to Solution.
If the feature parameter sizes are based on a standard set of expressions, you can just import an expressions file (? .exp?)
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled
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.
Import the edited expression file in NX.
Tools > Spreadsheet.
In excel, Add ins tab, Extract Expr and edit the values of expressions > Update NX Part.
Testing: NX 11 | NX 12 | TCIN
TC 11.2 | TC Vis 11.3 | AWC 3.2
I don't use Part Families, but this sounds like a potential solution for what you want.
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | KF
Production: NX22.214.171.124 MP11 64bit Testing: NX126.96.36.199