how to take the field quantity from a BOM in an assembly?

I want to write a note in the drawing of a part with the quantity of the component that is included into an assembly.

the name of drawingi want to write a note with the quantity: PIPPO-01.slddrw

the name of part: PIPPO-01.1.sldprt

the name of assembly: PIPPO-01.1.sldasm

it's possible?

a macro?

Thank for your help !

SolidworksApi macros
Comments 2
MF
MF 2015-06-10

Insert note.

Link properties.

File name in second option, and Properties of cut list (Description)

You make a Note with  ($PRPMODEL:"SW-File Name" - $PRPWLD:"Description")

There are a propertie with "quantity"

Best regards

DG
DG 2015-06-10

Check the macro/methods in this post and modify as required: