×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to connect parametric NX model to external txt file.

How to connect parametric NX model to external txt file.

How to connect parametric NX model to external txt file.

(OP)

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.

RE: How to connect parametric NX model to external txt file.

Is the external file a drawing or maybe an Excel spreadsheet ?

RE: How to connect parametric NX model to external txt file.

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

RE: How to connect parametric NX model to external txt file.

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)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources