Examples of using ISwDMDocument object for document in Document Manager API

Edit ArticleEdit Article

ISwDMDocument SOLIDWORKS Document Manager API interface represents the stream for SOLIDWORKS file (part, assembly and drawing). Document can be opened for read-only access or for write access. This option is controlled by allowReadOnly parameter of ISwDMApplication::GetDocument method.

When document is opened read-only any modification won't be saved.

Notifications

Join session by SOLIDWORKS and PDM API expert Artem Taturevych at 3DEXPERIENCE World 2026 on Wednesday, Feb 4 at 08:30 AM CST to explore 10 essential macros for automating drawings, assemblies, custom properties, and more


Product of Xarial Product of Xarial