×
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

Adding a new thread standard to nx502 file

Adding a new thread standard to nx502 file

Adding a new thread standard to nx502 file

(OP)
I'm trying to add a new thread standard to the nx502_Threaded_Hole_Standard.xml file. After the new standard and data are added to the file and I reopen NX the hole command has error's and there are not any thread standard's available in the drop down menu.

RE: Adding a new thread standard to nx502 file

With which version of NX are you working?
Can you upload your nx502_Threaded_Hole_Standard.xml file?

RE: Adding a new thread standard to nx502 file

(OP)
I'm using NX9 and was able to upload the xml file. I have been able to modify the original standards but I haven't been able to create a new standard.

RE: Adding a new thread standard to nx502 file

I meant to upload the xml file here on eng-tips forum. So that I and others can check it.

RE: Adding a new thread standard to nx502 file

I had no problem adding a bunch of stuff representing some odd-ball standard thread to the 'nx502_Threaded_Hole_Standard.xml' file and having that 'odd-ball' thread appear as one of the available standards. However, you do have to be very careful when editing an XML file as complex as the 'Threaded Hole Standard'. I've found that it's best to use 'WordPad' to edit XML files, at least in this case, as it makes it very easy to see each 'entry' in the file. If you're going to do something like this it would be best to copy & paste some set of current thread data that's close to what you want and then edit the contents rather than just starting to type in something new from scratch.

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.

RE: Adding a new thread standard to nx502 file

(OP)
Using WordPad I was able to modify the file and make it work.

thanks for the help.

Steve

RE: Adding a new thread standard to nx502 file

I have checked at your xml file. By default, it was opened in Excel. Did you edit xml with Excel? Maybe this is the reason for the problems.
For example, I have over 3000 lines in my xml file and the size of the file is 2069KB. Your file has over 2400 lines, yet the file size is 4769KB. So, there are probably some data in your xml, that can not be recognized by NX.

I would advise the same as JohnRBaker already did. Try to edit this xml file in Wordpad or Notepad. I have copied and paste one line in Notepad, then change the standard and some parameters. And it worked.

RE: Adding a new thread standard to nx502 file

OK, I did what I suspect you did (only I used WordPad); I opened the current threaded hole standard file, performed a copy & paste of the 'Inch UNC' thread '#8-32' data set, and then edited the "Inch UNC" entry to read "Common Threads" and it works fine (see attached file). The way our systems are set-up, we don't use Excel to edit XML files so I couldn't test what would happen if I tried editing my threaded hole standard file using Excel. And for the record, I just checked and it appears that our developers use whatever text editor they're most comfortable with (the guy I talked to still uses 'vi' as he's really an old-timer), but I was told that Excel is NOT the way to go as it attempts to reformat what is ostensibly a simple 'text' file into something which Excel considers as being a proper XML schema which unfortunately makes the file incompatible with NX. As I've stated, I always use WordPad and I've never had any problems (as long as I don't mess up the syntax or misplace something ;-).

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.

RE: Adding a new thread standard to nx502 file

(OP)
Using WordPad was the key. I was able to add the new standard and threads.

Thanks for the help.

Steve

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