Notifies the PDM application that SolidWorks Toolbox needs the PDM managed document file name to insert it in an assembly.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Delegate Function DPDMDocManagerEvents_PreInsertDocumentEventHandler( _
ByVal fileName As String, _
ByVal ToolboxID As Integer _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As New DPDMDocManagerEvents_PreInsertDocumentEventHandler(AddressOf HandlerMethod)
|
C# | |
---|
public delegate int DPDMDocManagerEvents_PreInsertDocumentEventHandler(
string fileName,
int ToolboxID
) |
C++/CLI | |
---|
public delegate int DPDMDocManagerEvents_PreInsertDocumentEventHandler(
& String^ fileName,
& int ToolboxID
) |
Parameters
- fileName
Document file name
- ToolboxID
ToolboxFileID parameter is calculated for copied part creation; in other instances, the integer default is �1
Remarks