Functions and constants relating to Contacts
| Name | Description |
| MASTER | This constant is deprecated in version 21.0. It is only provided to keep old scripts working. We strongly advise against using it in new scripts. Support may be removed in future versions. Master side on contact surface. Use Contact.SURFB instead [deprecated] |
| SLAVE | This constant is deprecated in version 21.0. It is only provided to keep old scripts working. We strongly advise against using it in new scripts. Support may be removed in future versions. Slave side on contact surface. Use Contact.SURFA instead [deprecated] |
Details of functionsGetSegmsInSurface(surface_id[integer]) [static]DescriptionReturns the start and end indices of the tracked and reference segments in a contact surface |
The contact surface in which to return the list of segments. If +ve, the internal surface number starting at 1. If -ve, the external surface label. Internal numbers will be many times faster to process.
Returns |
Object with the following properties:
| Name | Type | Description |
| ms_end | integer | End index of reference surface segments |
| ms_start | integer | Start index of reference surface segments |
| ss_end | integer | End index of tracked surface segments |
| ss_start | integer | Start index of tracked surface segments |
object
SpoolNodesInSurface(surface_id[integer], index[integer], side[integer]) [static]DescriptionSpools through the nodes on a contact surface |
The contact surface in which to spool. If +ve, the internal surface number starting at 1. If -ve, the external surface label. Internal numbers will be many times faster to process.
Index of node to get in contact surface. To setup the spool, this has to be set to zero initially
The side of the contact surface: Contact.SURFA or Contact.SURFB