Inventor Customization

Inventor Customization

Reply
Active Member
rfletcher
Posts: 17
Registered: ‎03-29-2007
Message 1 of 3 (240 Views)

Multi-Value List Not in Order

240 Views, 2 Replies
01-10-2012 07:48 AM

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

Active Member
ryaanj
Posts: 8
Registered: ‎04-24-2007
Message 2 of 3 (218 Views)

Re: Multi-Value List Not in Order

02-03-2012 10:03 AM in reply to: rfletcher

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?

Active Member
dsowle
Posts: 7
Registered: ‎01-26-2009
Message 3 of 3 (99 Views)

Re: Multi-Value List Not in Order

10-11-2013 08:30 AM in reply to: rfletcher

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?

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.