In an assembly of a hydraulic tank, I would like to put 400 liters of oil in it and for SmartBom to export this quantity to me. I don't want to put an "oil" part in my assembly and make a linear repetition of 400 ocurences to have the right quantity in the nomenclature.
If you open up this subset and go to the file properties, you have an option named: Quantity in BOM, in fact it allows you to choose which property will change the quantity for BOM.
The solution would therefore be to create a property named: Oil quantity with value 400 and then in this quantity drop-down menu in the BOM, choose the property: Oil quantity
I didn't quite understand. I don't want to add an additional column with a custom property but I would like the "Quantity" column to look for the property I forced in my part file (see attached file to better understand).
I want to do this because then I export the bill of materials and import it into our ERP which only reads the Quantity column.
I think I should go through a conditional property of the type, IF in my file the Quantity property is different from empty, THEN take the value, OTHERWISE calculate the Quantity as usual.
In your screenshot, at the top right, you have quantity in the nomenclature, this allows you not to re-create a column, you just have to choose in this drop-down menu the property you created named: Quantity, so the quantity will not be at 1 but at 40.
"The problem is indeed a bug, it is identified under the number 0001835: SmartBom does not take into account the option: Quantity in the bill of materials (ownership of a part or under asm) At the moment, there is no workaround. the R&D team is looking for a solution"
For the problem mentioned in the description of the question, Mick had given the correct answer by using the quantity property in BOM in the properties of a part.
With the update of the SmartBom, this utility now takes this property into account, but a new bug has just come to light: SmartBom does not add up the quantities per part when a part is used several times in an assembly with a different property.
If I go back to my 1st example: I have an oil tank, an "oil" part whose quantity property is forced to 40L and another tank with the same oil part, whose quantity property is forced to 100L in a different configuration. If I draw the assembly, I have my oil in quantity 140 in the nomenclature. If I export via the SmartBom, I only have 40. The 1st occurrence of the part is taken into account and that's it = BUG...
Hello I invite myself in this post because I often have the same kind of problem and the proposed solution does not suit me very much.
I remember being able to force the occurrence flag in a set (it may not be in SW ^^'), and not in the properties of a part. The example of oil is also good, just like a screw, you can need 2 or 50 without repeating it. A pot of glue, add a basic spare part to the box, and add a basic spare part to the body. If you force the property of the screw or the liter of oil it only works once for one case, but if you need 60 in another set?
It seems to me that it was here, but at home it's grey
There is this utility since then that is supposed to do the job (never tried):
For your information, it would have been better to open a new topic, even if it meant attaching the link to this one. The digging up is not always visualized in the same way.