Obsolete. Superseded by IAssemblyDoc::AddComponent5.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddComponent4( _
ByVal CompName As System.String, _
ByVal ConfigName As System.String, _
ByVal X As System.Double, _
ByVal Y As System.Double, _
ByVal Z As System.Double _
) As Component2 |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim CompName As System.String
Dim ConfigName As System.String
Dim X As System.Double
Dim Y As System.Double
Dim Z As System.Double
Dim value As Component2
value = instance.AddComponent4(CompName, ConfigName, X, Y, Z) |
C# | |
---|
Component2 AddComponent4(
System.string CompName,
System.string ConfigName,
System.double X,
System.double Y,
System.double Z
) |
C++/CLI | |
---|
Component2^ AddComponent4(
& System.String^ CompName,
& System.String^ ConfigName,
& System.double X,
& System.double Y,
& System.double Z
) |
Parameters
- CompName
- Path name of a loaded part or assembly to add as a component (see Remarks)
- ConfigName
Name of the configuration from which to load the component (see Remarks)
- X
- X coordinate of the component center
- Y
- Y coordinate of the component center
- Z
- Z coordinate of the component center
Return Value
IComponent2
Example
Remarks
See Also
Availability
SOLIDWORKS 2003 SP5, Revision Number 11.5