SOLIDWORKS PDM Professional API Help Send Feedback
IEdmAddIn5 Interface
See Also  Members   Example
EPDM.Interop.epdm Namespace : IEdmAddIn5 Interface


Allows you to create a SOLIDWORKS PDM Professional add-in.


NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.

Syntax

Visual Basic 
Public Interface IEdmAddIn5 
C# 
public interface IEdmAddIn5 
C++/CLI 
public interface class IEdmAddIn5 

Example

Example

Remarks

This interface inherits from IUnknown. See Using and Implementing IUnknown (COM).

To create a SOLIDWORKS PDM Professional add-in:

  1. Create a class that implements this interface and its methods.
  2. Add menu commands, toolbar buttons, and hooks in your implementation of IEdmAddIn5::GetAddInInfo.
  3. Add callbacks for the hooks, menu commands, and toolbar buttons in your implementation of IEdmAddIn5::OnCmd.
  4. Register the add-in via the Administration Add-ins dialog. During registration, SOLIDWORKS PDM Professional calls your IEdmAddIn5::GetAddInInfo method to obtain information about the add-in.

After the add-in is created and registered, SOLIDWORKS PDM Professional calls your IEdmAddIn5::OnCmd method whenever the user executes a menu command or hook from your add-in.

See Also