Examples of using ISwDMDocument object for document in Document Manager API

Edit ArticleEdit Article
Comments

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

All articles and code at CodeStack are now open-source and hosted on GitHub. If you want to contribute by modifying existing articles and code snippets, submitting new ones, reporting errors and bugs etc. please follow this blog post for more information. We appreciate any contribution.


Product of Xarial Product of Xarial