Replace this component with the specified component.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISwDMComponent6
Dim fileName As System.String
Dim ConfigurationName As System.String
Dim ReattachMates As System.Boolean
Dim value As System.Boolean
value = instance.Replace(fileName, ConfigurationName, ReattachMates) |
Parameters
- fileName
- Path and file name of the component to replace this component
- ConfigurationName
- Configuration of the component to replace this component
- ReattachMates
- True to reattach mates to the component that replaced this component, false to not
Return Value
True if the operation succeeds, false if it fails
Example
Remarks
See Also
Availability
SOLIDWORKS Document Manager API 2009 SP0