Adds an envelope in the specified configuration name in this assembly.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertEnvelope( _
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.InsertEnvelope(CompName, ConfigName, X, Y, Z) |
CSOLIDWORKS.Interop.sldworks~SOLIDWORKS.Interop.sldworks.IAssemblyDoc~InsertEnvelope.html# | |
---|
Component2 InsertEnvelope(
System.string CompName,
System.string ConfigName,
System.double X,
System.double Y,
System.double Z
) |
C++/CLI | |
---|
Component2^ InsertEnvelope(
& System.String^ CompName,
& System.String^ ConfigName,
& System.double X,
& System.double Y,
& System.double Z
) |
Parameters
- CompName
- Path and file name of file containing a part to insert as an envelope
- ConfigName
- Name of the configuration from which to load the envelope component
- X
- X coordinate of the center of the envelope component's bounding box
- Y
- Y coordinate of the center of the envelope component's bounding box
- Z
- Z coordinate of the center of the envelope component's bounding box
Return Value
IComponent2
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14