The following label utility functions are available:
Feature | Description | Function | |
---|---|---|---|
Add labels | On face zones | Add labels on the specified face zones.
| (tgapi-util-add-labels-on-face-zones '( |
(tgapi-util-add-labels-on-face-zones '( | |||
(tgapi-util-add-labels-on-face-zones " | |||
On cell zones | Add labels on the specified cell zones.
| (tgapi-util-add-labels-on-cell-zones '( | |
(tgapi-util-add-labels-on-cell-zones '( | |||
(tgapi-util-add-labels-on-cell-zones " | |||
On edge zones | Add labels on the specified edge zones.
| (tgapi-util-add-labels-on-edge-zones '( | |
(tgapi-util-add-labels-on-edge-zones '( | |||
(tgapi-util-add-labels-on-edge-zones " | |||
Return list of labels | On face zones | Returns the list of labels for the
specified face zones. Specify the face zones using a face-zone-name-list ,
face-zone-ID-list , or face-zone-name-pattern* . | (tgapi-util-get-labels-on-face-zones
'( |
(tgapi-util-get-labels-on-face-zones
'( | |||
(tgapi-util-get-labels-on-face-zones
" | |||
On cell zone | Returns the list of labels for the
specified cell zones. Specify the cell zones using a cell-zone-name-list ,
cell-zone-ID-list , or cell-zone-name-pattern* . | (tgapi-util-get-labels-on-cell-zones
'( | |
(tgapi-util-get-labels-on-cell-zones
'( | |||
(tgapi-util-get-labels-on-cell-zones
"cell-zone-name-pattern*") | |||
On edge zone | Returns the list of labels for the
specified edge zones. Specify the edge zones using an edge-zone-name-list ,
edge-zone-ID-list , or edge-zone-name-pattern* . | (tgapi-util-get-labels-on-edge-zones
'( | |
(tgapi-util-get-labels-on-edge-zones
'( | |||
(tgapi-util-get-labels-on-edge-zones
" | |||
Face Zone Label lists by object | Return a list of face zone labels in the specified object. | (get-labels-of-object
' | |
(get-labels-of-object
" | |||
(tgapi-util-get-all-label-name-list
' | |||
(tgapi-util-get-all-label-name-list
" | |||
Return a list of face zone labels in the specified object, whose names contain the specified filter/pattern string. | (get-labels-of-filter
' | ||
(tgapi-util-get-label-name-list-of-pattern
' | |||
(tgapi-util-get-label-name-list-of-pattern
" | |||
Face Zone Label lists by face zones | Return a list of face zone labels containing the face zones specified. | (get-labels-of-face-zones
'( | |
Return list of zones with labels | Face zones | Returns the list of face zones (by ID) containing the labels specified.
| (tgapi-util-get-face-zone-id-list-with-labels
'( |
(tgapi-util-get-face-zone-id-list-with-labels
'( | |||
(tgapi-util-get-face-zone-id-list-with-labels
" | |||
Cell Zones | Returns the list of cell zones (by ID) containing the labels specified.
| (tgapi-util-get-cell-zone-id-list-with-labels
'( | |
(tgapi-util-get-cell-zone-id-list-with-labels
'( | |||
(tgapi-util-get-cell-zone-id-list-with-labels
" | |||
Edge zones | Returns the list of edge zones (by ID) containing the labels specified.
| (tgapi-util-get-edge-zone-id-list-with-labels
'( | |
(tgapi-util-get-edge-zone-id-list-with-labels
'( | |||
(tgapi-util-get-edge-zone-id-list-with-labels
" | |||
Remove labels from zones | From face zones | Removes the specified labels from the face zones.
| (tgapi-util-remove-labels-on-face-zones '( |
(tgapi-util-remove-labels-on-face-zones '( | |||
(tgapi-util-remove-labels-on-face-zones
" | |||
From cell zones | Removes the specified labels from the cell zones.
| (tgapi-util-remove-labels-on-cell-zones '( | |
(tgapi-util-remove-labels-on-cell-zones '( | |||
(tgapi-util-remove-labels-on-cell-zones
" | |||
From edge zones | Removes the specified labels from the edge zones.
| (tgapi-util-remove-labels-on-edge-zones '( | |
(tgapi-util-remove-labels-on-edge-zones '( | |||
(tgapi-util-remove-labels-on-edge-zones
" |
Consider a model with face zones part1, part2, part3, inlet1, inlet2, and outlet.
Add labels on the specified face zones.
(tgapi-util-add-labels-on-face-zones '(inlet1 inlet2) '(inlet))
(tgapi-util-add-labels-on-face-zones "part*" '(wall solid))
Return the list of labels on the specified face zone.
(tgapi-util-get-labels-on-face-zones '(12 34))
Returns list of labels:
(inlet)
(tgapi-util-get-labels-on-face-zones "part*")
Returns list of labels:
(wall solid)
Remove labels from the specified face zones.
(tgapi-util-remove-labels-on-face-zones "part*" '(solid))
Return the list of face zones (by ID) containing the labels specified.
(tgapi-util-get-face-zone-id-list-with-labels "inlet*" '(inlet))
Returns face zone ID list:
(12 34)