The ID is a numeric scalar specifying the group ID. It is not used by IMAT, but is useful for round-tripping to a Universal file.
The NAME a string containing the group name. It can be up to 80 characters in length.
The DATA property is an Nx2 matrix containing the entity IDs (column 1) and their corresponding type (column 2). Supported entity types are listed in the table below.
Entity Type | Description |
0 | Unknown |
1 | Coordinate System |
7 | Node |
8 | Element |
27 | Traceline |
TYPE is a special property that returns enumerations for each of these entity types.
TYPE is a special dependent property that returns an enumeration for each of the entity types. We recommend that you use this rather than the entity type numbers directly. It will better self-document your code, and will also make your code robust to any potential changes in the entity type numbers. The following code snippet shows how to use this. Note that the static method get_type_data also returns this information in a different format with some additional information.
>> g=imat_group;
>> g.type
ans =
gUnknown: 0
gCSys: 1
gNode: 7
gElement: 8
gTraceline: 27
>> g.type.gCSys % Use this nomenclature when referencing entity types
ans =
1
>>