Click or drag to resize

SwAddInEx Class

Base interface for enabling the Framework for SOLIDWORKS add-ins
Inheritance Hierarchy
SystemObject
  CodeStack.SwEx.AddInSwAddInEx

Namespace:  CodeStack.SwEx.AddIn
Assembly:  CodeStack.SwEx.AddIn (in CodeStack.SwEx.AddIn.dll) Version: 0.8.1.0 (0.8.1.0)
Syntax
public abstract class SwAddInEx : ISwAddin, 
	ISwAddInEx, IModule

The SwAddInEx type exposes the following members.

Properties
  NameDescription
Protected propertyAddInCookie
Add-ins cookie (id)
Protected propertyApp
Pointer to SOLIDWORKS application
Protected propertyCmdMgr
Pointer to command group which holding the add-in commands
Top
Methods
  NameDescription
Public methodAddCommandGroupTCmdEnum
Add command group based on the defined commands enumerator
Public methodAddContextMenuTCmdEnum
Add context menu based on the defined commands enumerator
Public methodOnConnect
Overload to initialize the data. This method is called from ConnectToSW(Object, Int32) method when the add-in loads
Public methodOnDisconnect
Called on disposing of the add-in (either when SOLIDWORKS application closes or when add-in is explicitly unloaded by the user from the AddIns Manager dialog)
Top
See Also