×
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

Extracting NX model info

Extracting NX model info

Extracting NX model info

(OP)
Is it possible to export NX9 model information to a spreadsheet (or xml file)? We need info relating to Cylindrical Faces and Planar Faces (i.e. Axis vector / Normal vector Direction Cosines, Hole Center Coordinate value, Feature Type (Cyl or Planar Face)). What API should I use? Also need to export any attributes associated with the feature. I don't mind exporting ALL data associated with the 3D model to a spreadsheet and then searching the spreadsheet for relevant information.

Thank you.

RE: Extracting NX model info

Go to Menu->Information->object(clt+i)

Select Face or feature of which you need information. You will get a text file with all the information. You can save this text file and import to Excel using "from text" option in "data" tab.

Ranjith P R
Automotive Seatings

RE: Extracting NX model info

(OP)
Thank you, Ranjith. We are aware of this method. Our program currently cycles through all Faces of the part and exports this info to Excel. We are trying to find a faster method...eg. accessing info from prt file.

RE: Extracting NX model info

Huh, NXOpen should be able to get that information but it sounds like you are already doing that?

RE: Extracting NX model info

(OP)
We are obtaining that information by programmatically reading each face in the model file and exporting the relevant info. We are trying to find a faster way...i.e. is it possible to read the prt file?

RE: Extracting NX model info

No NXopen is probably as fast as it gets, a least with the tools that are available to the user. But is speed really an issue when you are doing excel analysis afterwards? (which should be a few magnitudes slower)

RE: Extracting NX model info

Thought you could probably compile a command line tool that would work without a graphical NX session which might speed things up.

RE: Extracting NX model info

An NX/Open or SNAP program is the fastest way. To improve performance, we'd need to look at the details of how you're cycling through objects, how you're reading/calculating information, and how you're writing it out.

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