Hooking the notifications in SOLIDWORKS PDM API

Edit ArticleEdit Article

SOLIDWORKS PDM raises multiple events during the operation. Those events include but not limited to

  • Check In and Check Out
  • Workflow state change
  • Data card values change
  • File operations: creation, addition, deletion

SOLIDWORKS PDM API provides an access to these hooks via IEdmAddIn5::OnCmd overload.

This section explains the use of hooks and provides various code examples of add-ins which are using hooks with SOLIDWORKS PDM API.


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