Replaces a selected
SOLIDWORKS Connected component in this assembly with the specified component from a 3DEXPERIENCE collaborative space.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim PLMID As System.String
Dim ConfigName As System.String
Dim ReplaceAllInstance As System.Boolean
Dim UseConfigChoice As System.Integer
Dim ReAttachMates As System.Boolean
Dim value As System.Boolean
value = instance.ReplacePLMComponents(PLMID, ConfigName, ReplaceAllInstance, UseConfigChoice, ReAttachMates) |
Parameters
- PLMID
- Unique ID of a replacement component in the collaboration space
- ConfigName
- Name of a configuration (Physical Product) in the replacement component; an empty string indicates the default configuration of the replacement component
- ReplaceAllInstance
- True to replace all instances of the selected components with the replacement component, false to not
- UseConfigChoice
Configuration to use as defined in swReplaceComponentsConfiguration_e
- ReAttachMates
- True to reattach any existing mates to the replacement component, false to not
Return Value
True if the selected component is replaced, false if not
Remarks
See Also
Availability
SOLIDWORKS 2022 FCS, Revision Number 30