contactsurfs

Unless otherwise specified, data names are accessible in level 3 only.

activesuppressed
Returns non-zero if the entity is set inactive, 0 otherwise.
Type: integer
attributesmax
The number of attributes owned by this entity.
Type: unsigned integer
cardimage
The name of the assigned card image.
Type: string
cardimagetype
The type of the assigned card image.
Type: string
color
The 1-64 color of the entity.
Type: integer
color_rgb
The RGB color of the entity.
Type: string
definedentity
True if the entity is defined, false otherwise.
Type: Boolean
elements
The list of elements in the contactsurf. Valid for hm_getvalue query only.
Type: entity array
faces
A pointer to the faces in the contactsurf.
Type: pointer
facesmax
The number of faces in the contactsurf.
Type: integer
id
The ID of the entity.
Type: unsigned integer
include
The ID of the include file the entity is organized in.
Type: entity
includeid
The ID of the include file the entity is organized in.
Type: unsigned integer
internalid
The ID of the entity.
Type: unsigned integer
name
The name of the entity.
Type: string
outputsuppressed
Returns non-zero if the entity is set "do not export", 0 otherwise.
Type: integer
solverkeyword
The name of the solver keyword.
Type: string
To extract the definition of a contactsurf, use pointerset with the faces array, and then use the following data names with it.
element
A pointer to the element belonging to the current face.
Type: pointer
facecode
Indicates which face of its element the contactsurf refers to, 0-5.
Type: integer
facetype
The number of nodes in the current face, 1-8.
Type: integer
node1
The ID of the first node of the current face.
This value is reported taking into account whether or not the contact is reversed with respect to the normal of the element.
Type: entity
node2
The ID of the second node of the current face.
This value is reported taking into account whether or not the contact is reversed with respect to the normal of the element.
Type: entity
node3
The ID of the third node of the current face.
This value is reported taking into account whether or not the contact is reversed with respect to the normal of the element.
Type: entity
node4
The ID of the fourth node of the current face.
This value is reported taking into account whether or not the contact is reversed with respect to the normal of the element.
Type: entity
node5
The ID of the fifth node of the current face.
This value is reported taking into account whether or not the contact is reversed with respect to the normal of the element.
Type: entity
node6
The ID of the sixth node of the current face.
This value is reported taking into account whether or not the contact is reversed with respect to the normal of the element.
Type: entity
node7
The ID of the seventh node of the current face.
This value is reported taking into account whether or not the contact is reversed with respect to the normal of the element.
Type: entity
node8
The ID of the eigth node of the current face.
This value is reported taking into account whether or not the contact is reversed with respect to the normal of the element.
Type: entity
nodes
The IDs of the nodes in the current face.
Type: entity array
reversecode
The "with normal/against normal" status of the current face
Type: integer

Version History

2020 - Added new data names color_rgb and nodes.

2020.1 - Added new data name solverkeyword.