Reloads this model document with the specified references.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ReloadWithReferences( _
ByVal ReadOnly As System.Boolean, _
ByVal DiscardChanges As System.Boolean, _
ByVal ReferencesToReload As System.Object _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim ReadOnly As System.Boolean
Dim DiscardChanges As System.Boolean
Dim ReferencesToReload As System.Object
Dim value As System.Integer
value = instance.ReloadWithReferences(ReadOnly, DiscardChanges, ReferencesToReload) |
Parameters
- ReadOnly
- True to set the model document read-only after reload or replace, false to allow write access
- DiscardChanges
- True to discard changes made to the current model document, false to abort operation if the model document was changed (see Remarks)
- ReferencesToReload
- Array of IDispatch pointers to referenced documents to reload
Return Value
Error codes as defined by
swComponentReloadError_e
Remarks
See Also
Availability
SOLIDWORKS 2025 FCS, Revision Number 33