contactsurfs
Unless otherwise specified, data names are accessible in level 3 only.
- activesuppressed
- Returns non-zero if the entity is set inactive, 0 otherwise.
- attributesmax
- The number of attributes owned by this entity.
- cardimage
- The name of the assigned card image.
- cardimagetype
- The type of the assigned card image.
- color
- The 1-64 color of the entity.
- color_rgb
- The RGB color of the entity.
- definedentity
- True if the entity is defined, false otherwise.
- elements
- The list of elements in the contactsurf. Valid for hm_getvalue query only.
- faces
- A pointer to the faces in the contactsurf.
- facesmax
- The number of faces in the contactsurf.
- id
- The ID of the entity.
- include
- The ID of the include file the entity is organized in.
- includeid
- The ID of the include file the entity is organized in.
- internalid
- The ID of the entity.
- internalname
- The internal name of the entity.
- moduleid
- The module ID of the entity.
- name
- The name of the entity.
- outputsuppressed
- Returns non-zero if the entity is set "do not export", 0 otherwise.
- poolid
- The pool number of the entity.
- poolname
- The pool name of the entity.
- solver_id
- The solver ID of the entity.
- solverkeyword
- The name of the solver keyword.
- solvername
- The solver name of the entity for entities enabled for name pool, otherwise the internal name of the entity.
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.
- facecode
- Indicates which face of its element the contactsurf refers to, 0-5.
- facetype
- The number of nodes in the current face, 1-8.
- node1
- The ID of the first node of the current face.
- node2
- The ID of the second node of the current face.
- node3
- The ID of the third node of the current face.
- node4
- The ID of the fourth node of the current face.
- node5
- The ID of the fifth node of the current face.
- node6
- The ID of the sixth node of the current face.
- node7
- The ID of the seventh node of the current face.
- node8
- The ID of the eigth node of the current face.
- nodes
- The IDs of the nodes in the current face.
- reversecode
- The "with normal/against normal" status of the current face
Version History
2020 - Added new data names color_rgb and nodes.
2020.1 - Added new data name solverkeyword.
2021.1 - Added new data names moduleid, poolid, poolname, and solver_id.
2021.2 - Added new data names internalname and solvername.