ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
CLCarmen Lopera06/09/2018

Hello,

I am implementing an Add-in that given an assembly will check for every part in the assembly the custom properties file without having to open the part document in solidworks and then will save the part to STL.

I have some code that gets me a list of the paths for each part in the assembly and I would like to load in memory without opening the part in solidworks in order to make it activated. File properties seems is accessible only for an activated document. 

Can a part be loaded in memory and then activated without opening the file in solidworks?

Properties for the part when the part file is open that I am trying to get without opening the part file.

part.png

I have seen that with  OpenDoc6 you can load the part in memory without opening the part in a window. Can from memory be the model activated and then save to STL? The SaveAs method needs the active document.