Initial Commit of the PDM project (ready for DWS migration)

This commit is contained in:
will
2026-04-20 08:42:38 -05:00
commit dda7b664e7
2721 changed files with 442772 additions and 0 deletions

View File

@@ -0,0 +1,92 @@
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<title>Add-in Applications</title>
<meta name=MS-HKWD content="Hooks">
<meta name=MS-HKWD content="Add-ins, hooks">
<meta name=MS-HKWD content="VB.NET, add-ins">
<meta name=MS-HKWD content="C++, add-ins">
<meta name=MS-HKWD content="Add-ins, C++">
<meta name=MS-HKWD content="Add-ins, VB.NET">
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" type="text/css" href="ApiHelp.css">
</head>
<h1><span style="font-weight: normal; font-size: 7.5pt;">SOLIDWORKS PDM Professional API Help</span></h1>
<h1>Add-in Applications</h1>
<body bgcolor=white lang=SV link=blue vlink=purple style='tab-interval:65.2pt'>
<div class=Section1>
<p>Add-ins
in SOLIDWORKS PDM Professional are:</span></p>
<ul>
<li class=kadov-p>DLLs that implement the COM interface,
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmAddIn5.html">IEdmAddIn5</a>.
</li>
<li class=kadov-p>Added to a file vault through the <a href="AdminDlg.htm"> Add-in Properties dialog</a>.</li>
<li class=kadov-p>Notified about SOLIDWORKS PDM Professional user actions:
<ul>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmAddIn5~GetAddInInfo.html">IEdmAddIn5::GetAddInInfo</a>
is called when the add-in is added to a file vault.</li>
<li class=kadov-p>SOLIDWORKS PDM Professional calls
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmAddIn5~OnCmd.html">IEdmAddIn5::OnCmd</a>
when a user performs an action that the add-in wants to be
notified about, e.g., when a menu item is selected, a file is created, or a
file is checked in or out.</li>
</ul>
</li>
<li class=kadov-p>Programmed with hooks (<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmCmdType.html">EdmCmdType</a>)
into SOLIDWORKS PDM Professional. All hooks are handled through the IEdmAddIn5 interface.
</li>
</ul>
<p>The following samples show how to create a basic add-in written in:</p>
<ul>
<li class=kadov-p><a href="DotNetAddIns.htm">VB.NET</a></li>
<li class=kadov-p><a href="CSharpAddIns.htm">Visual C#</a></li>
<li class=kadov-p><a href="cppaddin.htm">Visual C++</a></li>
</ul>
<p></p><p>After you create the basic add-in using the examples, see how to
add hooks:</p>
</p>
<ul>
<li class=kadov-p>
Add a menu item and toolbar button in File Explorer using:<ul>
<li><a href="vbmenuitem.htm">VB.NET</a></li>
<li><a href="csharpmenuitem.htm">Visual C#</a></li>
<li><a href="cppmenuitem.htm">Visual C++</a></li>
</ul>
</p></li>
<li class=kadov-p>
Add hooks that get called when a file is checked in or out using:<ul>
<li><a href="vbreactor.htm">VB.NET</a></li>
<li><a href="csharpreactor.htm">Visual C#</a></li>
<li><a href="cppreactor.htm">Visual C++</a></li>
</ul></p>
</li>
<li class=kadov-p>
<a href="vbcardbutton.htm">Hook up a button in a file data card using VB.NET</a></li>
<li class=kadov-p>
<a href="vbserno.htm">Create serial numbers using an add-in written in&nbsp;VB.NET</a></p></li>
</ul>
<p></p>
</div>
</body>
</html>