AnsweredAssumed Answered

API for getting .slddrw file reference location

Question asked by Nick Tremblay on Jun 23, 2020

I am trying to get a drawing file that is related to a part or assembly, but not in the root folder of the current assembly.
The .SLDDRW file has already been linked to the assembly and can be opened with File>Open Drawing in the menu, I was just wondering if there was a method in the Solidworks API that would be able to access that files location.


My macro works for getting a .slddrw in the same location as the part and opening it, but it would be really useful to find the file if it is saved somewhere else.


Thanks for the help in advance