Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Removing trailing zeros from Parts List

17 REPLIES 17
SOLVED
Reply
Message 1 of 18
gantonov
1970 Views, 17 Replies

Removing trailing zeros from Parts List

Hi everybody,

 

Do you know how can I remove the trailing zeroes from a parts list? I mean, I want to remove all the trailing zeroes for all parts in the parts list. So far I found out that I can manipulate that by changing the Custom Property Format for every part from my model (see the pictures attached). That's great for few parts. But, when my assembly contains 100 Frame Generator components do I really have to change that property for every single one of them? Or, is there some way I can change all that whit one "click"?

Thank you,
Georgi

17 REPLIES 17
Message 2 of 18
mdavis22569
in reply to: gantonov

Did you click the trailing zero's too ? 

 

Didn't look like it 


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

Message 3 of 18
mdavis22569
in reply to: mdavis22569

Another possible option without a file

 

option 2.PNG


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

Message 4 of 18
gantonov
in reply to: mdavis22569

Trailing zeros are removed, but nothing happens. The parts are created with Frame Generator if that matters.

 

TRAILING ZEROS_4.JPG

 

Message 5 of 18
johnsonshiue
in reply to: gantonov

Hi! I could be wrong but I thought there was a bug like this fixed on the latest 2020 update. To check, please share the files here so forum experts can help take a look.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 6 of 18
gantonov
in reply to: johnsonshiue

Deal,

I share a "pack & go" archive of my project. Check it out. The files and file names are a little bit messy, but it is still in progress.

Message 7 of 18
johnsonshiue
in reply to: gantonov

Hi! I am not able to reproduce the issue on 2018.3. Could you take a look at the attached file?

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 8 of 18
gantonov
in reply to: johnsonshiue

That's great, it works. But, how did you manage to fix the issue? In my case, simply removing the trailing zeros from Parts List properties does nothing (the trailing zeros remain there).

Message 9 of 18
johnsonshiue
in reply to: gantonov

Hi! I did not do anything special. I just created the PartsList in the drawing. Then I enabled Column Substitution. Are you using comma as decimal point?

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 10 of 18
gantonov
in reply to: johnsonshiue

Yes, do I have to use point instead?
Message 11 of 18
johnsonshiue
in reply to: gantonov

Hi! I did try using German Locale and DIN template. I am still seeing the correct result. I am not sure where the problem is. Could you share the drawing file here?

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 12 of 18
gantonov
in reply to: johnsonshiue

It worked with me as well, but there is an other issue.
If I use the Default Formatting, then I can not turn off the trailing zeros. When I switch to Apply Units Formatting, I am able to change the precision and trailing zeros, but the "mm" unit apply to all items in the column. Including the items that are just number of items (in my case items 13, 14, 16...). As an attached file you will also find a Pack & Go archive of my project with drawing included.

 

Default FormattingDefault Formatting

 

 

Units FormattingUnits Formatting

 

Message 13 of 18
johnsonshiue
in reply to: gantonov

Hi! I guess you will need to override those cells. You have a mixed unit column. The column substitution workflow does not handle data like that well.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 14 of 18

I'm having the same problem and i've tried to solve it in different ways, but got the same results.

The fact is that "out of the box" inventor can display mixed unit columns in the part list, the problem is that there is no simple way in removing the ".000" - say like a drop down list where you can choose the option you need .

I've said a "simple way" because I think that there might be a workaround (like a iLogic rule), but this option should be there.

Have a nice day!

Message 15 of 18

I found the solution, if there are any other persons interested in this.
For any of the Frame Components (I'm talking about the profiles used to create the frame), you will need to make some changes to the part list template that you are using.

image.png

If you change it like this, it should work.

Now you should have dual units in the part list.

razvancampian_0-1645787612024.png

Hope it helps.

Have a nice day!

Message 16 of 18
arkelec
in reply to: razvan-campian

Hi @razvan-campian 

 

Could you explain further how you got that result.

What is the value G_L & where did you create it?

Message 17 of 18
johnsonshiue
in reply to: arkelec

Hi! To help facilitate the discussion, you may want to share the files here. Depending on the source of the property, trailing zeros may or may not be removed.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 18 of 18
razvan-campian
in reply to: arkelec

Hello arkelec.
The G_L value it's an "User parameter" that is allready defined in the Frame members (beams, channels....).
So you don't need to create anything, just set the Part List as showned in the images from my previous pots.
In the first image you can see the settings that I've made to the Part List template;
in the second one (the one with the black background) you can see the result of the settings in a part list from a drawing.

Have a nice day and good luck!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report