How can I do this with solidworks api?
Edit: GetExtent Method (IBomTable) - 2021 - SOLIDWORKS API Help