I'm new to NX, and I need to import points from .xls files by writing a VB program. So if you have any VB programs related to points and lines please attach.
A search on this site should turn up some code for dealing with points and/or Excel files. Here are two examples:
thread561-300281
thread561-360957
there are many more.
Also, there are several journals that work with point objects and/or Excel files at the website listed in my signature line. You can probably just "mix & match" some code taken from there to get what you need.
You may wish to export a comma-delimited file from Excel and then use the aforementioned built-in 'Points from File' function as it automatically created a named-group (using the text file name as the group name) which will help to manage the selection and manipulation of these points. This can be of particular help if multiple sets of points are being imported into the same NX Part file.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA Siemens PLM: UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.