Calls this method when the add-in is loaded.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ConnectToSW( _
ByVal ThisSW As System.Object, _
ByVal Cookie As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISwAddin
Dim ThisSW As System.Object
Dim Cookie As System.Integer
Dim value As System.Boolean
value = instance.ConnectToSW(ThisSW, Cookie) |
C# | |
---|
System.bool ConnectToSW(
System.object ThisSW,
System.int Cookie
) |
C++/CLI | |
---|
System.bool ConnectToSW(
& System.Object^ ThisSW,
& System.int Cookie
) |
Parameters
- ThisSW
Pointer to the SldWorks Dispatch object
- Cookie
Add-in ID
Return Value
True if the add-in connected successfully, false if not
Remarks
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0