.NET Framework Class Library
CADSystem.ReplaceReferencedConfiguration Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > CADSystem Class > CADSystem Methods > .NET Framework Class Library |
Replaces in an assembly file a specific configuration of a component with another configuration of a different component.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub ReplaceReferencedConfiguration ( _ asmPath As String, _ |
C# |
|---|
public void ReplaceReferencedConfiguration( string asmPath, |
Visual C++ |
|---|
public: void ReplaceReferencedConfiguration( |
JavaScript |
|---|
function replaceReferencedConfiguration(asmPath, asmCfg, componentToBeReplacedPath, componentToBeReplacedCfg, replacingComponentPath, replacingComponentCfg); |
Parameters
asmPath
Type: System.String
the containing assembly path
asmCfg
Type: System.String
the containing assembly configuration
componentToBeReplacedPath
Type: System.String
the path of the component to be replaced in the assembly
componentToBeReplacedCfg
Type: System.String
the specific configuration of the component to be replaced in the assembly
replacingComponentPath
Type: System.String
the path of the replacing component in the assembly
replacingComponentCfg
Type: System.String
the specific configuration of the replacing component in the assembly
Remarks
Available only on SolidWorks files.
See Also