Obsolete. Superseded by IAssemblyDoc::AddComponent5.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddComponent4( _
ByVal CompName As String, _
ByVal ConfigName As String, _
ByVal X As Double, _
ByVal Y As Double, _
ByVal Z As Double _
) As Component2 |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim CompName As String
Dim ConfigName As String
Dim X As Double
Dim Y As Double
Dim Z As Double
Dim value As Component2
value = instance.AddComponent4(CompName, ConfigName, X, Y, Z)
|
C++/CLI | |
---|
Component2^ AddComponent4(
& String^ CompName,
& String^ ConfigName,
& double X,
& double Y,
& 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