×
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

NX dimensioning w/ Excel Macro

NX dimensioning w/ Excel Macro

NX dimensioning w/ Excel Macro

(OP)
Hi there,

I've dug around looking for an answer to this for a while now and haven't found much.
I have an excel file controlled with a macro (essentially a list of dimensions that are parametrized to each other in VBA) and I want to link that to an NX model (I'm running 8.5). I'm aware that the expressions dialog can be used to create an excel interface for modifying variables ect. but unsure of how to link variables to an existing excel file, moreover one with macro-controlled cells.

thanks for the help
-Al

RE: NX dimensioning w/ Excel Macro

While in the expression system, go to the bottom of the dialog and select the 'functions' icon [f(x)] and when the dialog opens, go to 'Choose a Category' and select the 'spreadsheet' item. Here you will find pre-defined functions for reading the values of cells in an external spreadsheet. Now if you make a change to the external spreadsheet, NX does not automatically detect that and update the part file(s). What you need to do is after the part file is open, whether you're in the Expression dialog or not, you'll need to go to...

Tools -> Update -> Update for External Change

...so as to force an update of the NX model by reading in any changes from the spreadsheet.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

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