CreateContactSet2 Method (ICWContactManager)
Creates a contact set.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICWContactManager
Dim NContactSetType As System.Integer
Dim NSelectionType As System.Integer
Dim ArraySourceEntities As System.Object
Dim ArrayTargetEntities As System.Object
Dim ErrorCode As System.Integer
Dim value As CWContactSet
value = instance.CreateContactSet2(NContactSetType, NSelectionType, ArraySourceEntities, ArrayTargetEntities, ErrorCode) |
Parameters
- NContactSetType
Type of contact set for:
NOTES:
-
Bonded. Source and target entities are bonded.
-
Shrink fit. Select faces from two components that are initially interfering with each other.
-
Free (no interaction). The program treats source and target faces as disjointed. Do not use this option unless you are sure that loads will not cause interference. Plot the deformed shape with a scale factor of 1.0 to check for interference.
-
Virtual wall. Available for static studies only. This contact type defines contact between the source entities and a virtual wall defined by a target plane. The target plane may be rigid or flexible. You can define friction between.
-
Insulated. Available for thermal studies only. This option is similar to the Free (no interaction) option for structural studies. The program prevents heat flow due to conduction through the source and target entities.
-
Thermal resistance. Available for thermal studies only. This option allows you to specify thermal resistance between source and target faces.
- NSelectionType
Type of selection as defined in swsSelectionType_e
- ArraySourceEntities
- Array of source entities
- ArrayTargetEntities
- Array of target faces
- ErrorCode
Error code as defined in swsContactSetError_e
Return Value
Contact set
Example
Remarks
See Also
Availability
SolidWorks Simulation API 2010 SP0