Routing library manager will not recognize that a part is open

whenever i attemp to add a part to my routing library i will have it open then, then when i open up my routing library manager and click "Routing Component Wizzard" and select piping and then whatever kind of part I will be adding it asks that I "launch Solidworks and open a part to continue"

SolidworksApi macros