Multi-Value List Not in Order

Multi-Value List Not in Order

rfletcher
Contributor Contributor
1,173 Views
2 Replies
Message 1 of 3

Multi-Value List Not in Order

rfletcher
Contributor
Contributor

I am trying to create a form, so that my designers can pick their parameters when they first start a new part. 

 

For this form I have created a multi-valued parameter for them to select from.

 

My issue is, why does Inventor not list fractions in the correct order.

 

What I would like to see:

 

1/8"

3/16"

1/4"

5/16"

3/8"

7/16"

1/2"

9/16"

5/8"

11/16"

3/4"

13/16"

7/8"

15/16"

1"

 

What Inventor lists:

 

1"

1/2"

1/4"

11/16"

13/16"

15/16"

3/8"

3/16"

5/8"

5/16"

7/8"

7/16"

9/16"

 

Is there a way to get Inventor to list these parameters in order of value?

 

Thanks in advance,

Randall

0 Likes
1,174 Views
2 Replies
Replies (2)
Message 2 of 3

ryaanj
Advocate
Advocate

I second this question.  Inventor is ordering the numbers according to the digit values, not actual whole values.  This makes no sense when you use the parameter on a form and get a radio button list that jumps from 1 to 10, then back down to 2.  Any ideas on changing this?

0 Likes
Message 3 of 3

dsowle
Participant
Participant

I know this was a while ago, I was having the same problem in version 2014.

I added this illogic rule to my part.  

 

MultiValue.SetList("Size", "1/8""", "3/16""", "1/4""", "5/16""", "3/8""", "7/16""", "1/2""", "9/16""", "5/8""", "11/16""", "3/4""", "13/16""", "7/8""", "15/16""", "1""")

It works, seems to force the Parameter's (named "Size") Multi-Value list to list as listed in the code.

 

Can this be done without illogic?