Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Control a Contour in NX with Points from an External Excel File

Status
Not open for further replies.

nstrahan211

Aerospace
Aug 15, 2022
1
My aim is described above. I would like to control a contour in NX that is described by points in an excel file. I know how to import points from a standalone csv/excel file, however my goal is to be able to control the contour with a single parameter (e.g., contour 001 corresponds to column 1 points in the excel sheet, contour 002 to column 2, etc.). I also want to make sure the excel file can be edited and pushed to the CAD, rather than having to re-import a new contour manually. I have done this in the past for single parameters using the ug_vlookup command, but I'm curious if it's possible with array data.

A couple things I have already tried:
[ul]
[li]I was able to import 1D arrays (the x and y coordinates) as lists into separate parameters using ug_vlookup, however I didn't know how/if I could then turn those lists into an arbitrary number of points in NX.[/li]
[li]I tried curve fitting the data in excel and importing parameters, but the curve fit is too poor. It needs to be some sort of spline generated by NX that is driven by a series of exact points.[/li]
[/ul]


Any help that folks can provide would be sincerely appreciated.

I have seen a solution posted for this question once on the internet, but it was trapped in a .zip file that is no longer available!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor