Creates the specified component contact.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateContactComponent( _
ByVal NContactType As System.Integer, _
ByVal NOption As System.Integer, _
ByVal DispEntity As System.Object, _
ByRef ErrorCode As System.Integer _
) As CWContactComponent |
Visual Basic (Usage) | |
---|
Dim instance As ICWContactManager
Dim NContactType As System.Integer
Dim NOption As System.Integer
Dim DispEntity As System.Object
Dim ErrorCode As System.Integer
Dim value As CWContactComponent
value = instance.CreateContactComponent(NContactType, NOption, DispEntity, ErrorCode) |
Parameters
- NContactType
Type of component contact for:
- NOption
- Mesh compatibility as defined in swsMeshCompatibility_e
- DispEntity
- Component entity
- ErrorCode
- Error code as defined in swsContactComponentEndEditError_e
Return Value
Component contact
Example
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2008 SP1.0