Obsolete. Superseded by IAssemblyDoc::ReplaceComponents2.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim FileName As System.String
Dim ConfigName As System.String
Dim ReplaceAllInstance As System.Boolean
Dim ReAttachMates As System.Boolean
Dim value As System.Boolean
value = instance.ReplaceComponents(FileName, ConfigName, ReplaceAllInstance, ReAttachMates) |
Parameters
- FileName
- Path and new file name
- ConfigName
- Name of configuration
- ReplaceAllInstance
- True to replace all instances, false to not
- ReAttachMates
- True to reattach all of the mates if the component is found in the subassembly component, false to not
Return Value
True if the component is successfully replaced, false if not
Remarks
See Also
Availability
SOLIDWORKS 2003 FCS, Revision Number 11.0