Obsolete. Superseded by ISldWorks::ActivateDoc3.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ActivateDoc2( _
ByVal Name As System.String, _
ByVal Silent As System.Boolean, _
ByRef Errors As System.Integer _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Name As System.String
Dim Silent As System.Boolean
Dim Errors As System.Integer
Dim value As System.Object
value = instance.ActivateDoc2(Name, Silent, Errors) |
C# | |
---|
System.object ActivateDoc2(
System.string Name,
System.bool Silent,
out System.int Errors
) |
C++/CLI | |
---|
System.Object^ ActivateDoc2(
& System.String^ Name,
& System.bool Silent,
& [Out] System.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