Activates a loaded document and rebuilds it as specified.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ActivateDoc3( _
ByVal Name As System.String, _
ByVal UseUserPreferences As System.Boolean, _
ByVal Option As System.Integer, _
ByRef Errors As System.Integer _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Name As System.String
Dim UseUserPreferences As System.Boolean
Dim Option As System.Integer
Dim Errors As System.Integer
Dim value As System.Object
value = instance.ActivateDoc3(Name, UseUserPreferences, Option, Errors) |
Parameters
- Name
- Name of the loaded document to activate (see Remarks)
- UseUserPreferences
- True to rebuild as per the swRebuildOnActivation system option; false to rebuild as per Option
- Option
- Rebuild option as defined in swRebuildOnActivation_e (see Remarks)
- Errors
- Status of the activate operation as defined in swActivateDocError_e; if
no errors or warnings are encountered, then this value is 0 (see Remarks)
Return Value
Model document
Example
Remarks
See Also
Availability
SOLIDWORKS 2012 FCS, Revision Number 20.0