Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to connect parametric NX model to external txt file.

Status
Not open for further replies.

Alex32410

Mechanical
Dec 4, 2015
3

I have the task to create parametric model in NX and connect variables from it to txt file.
The txt file should be linked to the model and if changing variables in it model should be able read those changes and rebuild itself.

How to create expressions I know but how to link it to the external/changeable/ file do not know.

Please help me.
 
Replies continue below

Recommended for you

Is the external file a drawing or maybe an Excel spreadsheet ?
 
That won't be possible without extensive coding I guess...
Your best solution is to use the Spreadsheet (Excel or Exces) embedded in the part file.
This is out of the box functionality in NX where you can do just the thing you are looking for....

Ronald van den Broek
Senior Application Engineer
Winterthur Gas & Diesel Ltd
NX9 / TC10.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5

HP Zbook15
Intel(R) Core(TM) i7-4800MQ
CPU @ 2.70 GHz Win7 64b
Nvidia K1100M 2048 MB DDR5

 
Associatively driving an NX model from values in an external Excel spreadsheet is also very simple. No coding necessary. You can use the OOTB functions in Expressions to do it. Lots of power there.

Reading (and then parsing) an arbitrary text file takes a bit more work (read: coding) but it's certainly possible, if you've got a consistent, long-term need.

Does that help a bit?



Taylor Anderson
NX Product Manager, Knowledge Reuse and NX Design
Product Engineering Software
Siemens Product Lifecycle Management Software Inc.
(Phoenix, Arizona)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor