How do I determine if a component (Part / Assembly) has a drawing?
Which API function do I need to use?
Document Manager Where Used
You can make use of Solidworks Document manager API to determine a component has drawing. This can be achieved by using where used option in Solidworks Document manager API
I still did not find which API function to use. Do you have other ways？
I solved the problem, thank you very much for the link you provided.
You can also use Pack and Go and tell it to include drawings. This display of the subassemblies and their parts will also show next to them any drawing it found associated with them. You can detect the presence of a drawing for a a whole lot of stuff all at the same time and in a visual display.
Retrieving data ...