Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Reuse library KRX

Status
Not open for further replies.

delaneyluke

Mechanical
Joined
Jun 21, 2013
Messages
13
Hi,
I'm working with modifying the Hex nuts available with the UGNX reuse library
I have a problem the size drop down list in the primary parameters.
I'm not able to get the sizes to list in order of increasing size.

Please see the attached picture to understand.

Is there a way to manually enforce the listing in increasing order?

Thanks & Regards
Luke
 
Try adding an underscore, '_', between the integer and the fraction, as in '1_1/4'. What's happening is that it's doing a lexical sort and the 'space' is seen as indicating the there are TWO values which needs to be sorted, the first value and then the second value, before it goes on the next item in the list. Adding the '_' will make the value appear as single string of text.

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.
 
Thanks for the reply John
That's what I thought too, but if you look at my attachment, the image on the right has the sizes arranged correctly and the higher sizes do not have underscores. Dont know how that worked and why the on on the left won't

Regards
Luke
 
Where did you get the image that you say is correct?

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.
 
Both images are parts I modified from the GTAC downloads
On the left is Hex Jam Nuts and on the right is Hex Nuts
Both have the parameter SIZE(S) listed as shown in the part families with no underscores, but the right image lists them in ascending order while the right does not
 
When I look at any of the ANSI standard Hex Nuts in the Machinery Library, this is what I see:

MachineryLibraryHex-Nuts_zps5d7a74d9.png


This why I asked where you got the images.

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.
 
Well, I've added sizes and edited the KRX to show more parameters. And in that process got 2 different listings, correctly ascending for the hex nuts but incorrect for the jam nuts.
Anyway will try the underscores for both to get them consistent

Thanks for your help and time John
Regards
Luke
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top