Interesting idea to try to tap into Assy Visualization.
So the end goal you have is to show the part quantity, on an assembly drawing that includes part detail drawings? Obviously you can get the part quantity on the BOM, but I can imagine why you would want it shown again on the individual part drawing.
I really don't know for sure, but I bet that assembly visualization does not provide anything special that you could use to populate a custom property.
Here is a related post: Re: Part quantities from assembly
It does not detail a solution but it hints that there is one with macros (which are not as scary as API), and it indicates there are other posts on the subject.
Thanks for replying and sorry for the late reply back, my computer blew up but all is well now.
Yes the idea is to have a drawing of the overview of the assembly and then a detailed drawing for each part (some may be sent to be laser cut).
If I could automate the quantity of each part it would save me time calculating the number of parts needed manually. I will continue to work something of similar results out but it would be awesome if I could pull the data from Assembly Visualization.
Here is an idea that seems obvious in retrospect. Use balloons! On the Drawing View Properties (right click inside view), link the balloon to the main BOM.
Then you have several ways to show the quantity - a split balloon, or "3X" next to the balloon... You can even pick any custom property, so you can directly show the part number (instead of an item number) and the quantity together.
That's a great way to show the quantity as well, I must remember that in future.
Although I have gone a different route in which I create equations for where I enter the quantity of each component and times that by the total quantity.
Now if we sell 37 number of a product I just need to enter 37 in the custom property and each page of the drawing will relate to the main drawing in which the equations work. This is a manual way but will save me a lot of time. Only problem I have is if in the future we decide to add more lugs I will need to remember to change the equation otherwise we will run into problems. Thanks for your advice Brian, its always good to get a different view point.
If anyone else in the future finds a way to pull the Assembly Visualization data into an equation let me know. That way I wouldn't need to worry if we decide to add more lugs as the quantity would update itself.