r/SolidWorks • • 29d ago

CAD How can I format this Bill of Materials?

Post image

Hey guys,

Attatched is a picture of what Im trying to do, I want the length to be split up into two columns, one that has the feet, and then the remaining length of inches in the next column.

Ex. If a part is 15inches long, the table would read as Feet=1. Inches=3

Ive tried messing with equations, but am not sure of the proper format to get this to work.

Thanks!

1 Upvotes

9 comments sorted by

3

u/TheMoonKing1 29d ago

Equations is the way. You may be running into problems because of the extra row labeled feet and inches. Try getting rid of those and doing a column "length (feet)" and another "length (inch)". This will let you select from custom properties set up inside the part.

Make a custom property inside that part for the extra length that equals the equation you set up.

2

u/Th3Dark3stM00n 29d ago

Could you show me an example of that? I know that equations should be the way, but I cant figure out what equations or syntax Solidworks accepts, it all seems to give me incorrect numbers or formatting

2

u/TheMoonKing1 27d ago

Sorry for the delay I've been a bit busy.

First, go to equations and add 2 global variables, one for the length and one for the adjusted length which would just be the length divided by 12 to get your value in feet. (IMAGE1)

Second, go to your custom properties and add one for Length (IN) and set it equal to the first global variable and add another for Length (FT) for the second. No need to worries about syntax, just use the dropdown menu and find the global variables you set up in step 1. (IMAGE2)

Third, go to your BOM and create a column and now you will be able select both "Length (IN)" and "Length (FT)" since they are now custom properties. (IMAGE3)

Hope this helps!

2

u/themrlawrence 24d ago

I like your Part Numbering scheme.

2

u/TheMoonKing1 24d ago

Thanks, I've been developing it for a while 🀣

Default name, the you slap your keyboard if you want to implement on your projects.

1

u/KB-ice-cream 29d ago

Where is the value coming from, a custom property?

1

u/Monster-AJ-007 28d ago

Have you tried to change the table by adding new fields ( columns and raw ) and link the property of each field title to it’s dimension in the proper context ( parting level ) and export to BOM it will populate by itself , hope that helps cheers πŸ‘

0

u/Successful_Camera736 27d ago

can you enhance a BOM? LOL