Obsolete. Superseded by ISldWorks::ActivateDoc3.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ActivateDoc2( _
ByVal Name As String, _
ByVal Silent As Boolean, _
ByRef Errors As Integer _
) As Object |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Name As String
Dim Silent As Boolean
Dim Errors As Integer
Dim value As Object
value = instance.ActivateDoc2(Name, Silent, Errors)
|
C++/CLI | |
---|
Object^ ActivateDoc2(
& String^ Name,
& bool Silent,
& [Out] int Errors
) |
Parameters
- Name
- Name of document to activate
- Silent
- True if dialogs and warning messages should be avoided, false if dialogs and warning
messages should be displayed to the user - Errors
- Status of the document activate operation as defined in swActivateDocError_e; if
no errors or warnings are encountered, then this value is set to 0
Return Value
Model document
Example
Remarks
See Also
Availability
SolidWorks 99, datecode 1999207