Working with files

is it possible, using a VBA macro, to directly modify a .sdlprt file without
actually opening it? Is it possible using C# or C++?
We have a lot of modifications to do and opening each file slows down the
process quite a bit!
Reply to
Louis-Philippe Salin de l'Etoile
Loading thread data ...
The only thing you can modify without opening the file are Windows standard file properties, normally accessed by ModelDoc::SummaryInfo API. You can do this using "dsofile.dll" make a search on this.
Reply to
Philippe Guglielmetti
Your only other option is to have a session of SolidWorks running in the background making these changes, but it will still use system resources. It may speed up the process if the graphics don't need to be calculated, but i doubt it would be much. You could run it at night or over the weekend if no user interaction is needed.
SldWorks::Visible = False
Reply to
Corey Scheich

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.