Parts List Length format to nearest 0.5mm

Parts List Length format to nearest 0.5mm

sbromley
Collaborator Collaborator
671 Views
6 Replies
Message 1 of 7

Parts List Length format to nearest 0.5mm

sbromley
Collaborator
Collaborator

How do I round up my parts list length column dimensions to read to the nearest 0.5mm?

I can only format them to the nearest 0.1mm

 

Capture.JPG

 

Autocad Mechanical 2023
0 Likes
672 Views
6 Replies
Replies (6)
Message 2 of 7

mcgyvr
Consultant
Consultant

See the response from Curtis.

 

https://forums.autodesk.com/t5/inventor-forum/rounding-the-value-of-a-driven-parameter-in-a-par-tlis...

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
Message 3 of 7

sbromley
Collaborator
Collaborator

Thanks, so I can't do it on an individual parts list basis. 
there may be instances where I want the dimensions to be a true value. 

Ah well.

Autocad Mechanical 2023
0 Likes
Message 4 of 7

mcgyvr
Consultant
Consultant

@sbromley wrote:

Thanks, so I can't do it on an individual parts list basis. 
there may be instances where I want the dimensions to be a true value. 

Ah well.


Sure you could.. Some parts lists would show your rounded values and others would show the original. 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes
Message 5 of 7

sbromley
Collaborator
Collaborator
If you mean the Ilogic then I'm afraid that's beyond me.
Autocad Mechanical 2023
0 Likes
Message 6 of 7

mcgyvr
Consultant
Consultant

@sbromley wrote:
If you mean the Ilogic then I'm afraid that's beyond me.

No need for ilogic.. Just a formula in one of your parameters..

 

If your length parameter is d2 and you want to round to the nearest .5 then create a new user parameter called d2_formatted and put this in for the equation

round(d2 * 2 ul / 1 in) * 1 in / 2 ul

 

Then if d2 is 5.498575 then d2_formatted is 5.5000 and then you can set it to 1 decimal place like you did above and get 5.5.

 

Then in your styles and standards you can define multiple parts list.. One would show the columns as you have now and one will show your "d2_formatted" column and you can easily have one set to the formatted columns and one set to the original columns wherever you want.. 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
Message 7 of 7

sbromley
Collaborator
Collaborator

Thanks, all sounds very good, but I haven't the faintest idea where to start.

Add a user parameter to what? Template? I've no idea. The dimension is G_L and is created when you use Frame Generator.

Autocad Mechanical 2023
0 Likes