Download EnSight Interface Manual

Transcript
5.1 Query Keyword Details
Number of logo annotations
Keyword:
LOGO_COUNT
example command>
Input:
param_cnt
query LOGO_COUNT
= 0
Return Values:
On Success -> (1)
ret_int_cnt
ret_int_array[0]
= 1
= number of logo annotations
On Failure -> (-1)
ret_error_buf contains the error message string
Logo’s display attributes
Keyword:
LOGO_DISPLAY_ATTRIBUTES
example command>
query LOGO_DISPLAY_ATTRIBUTES 1
Input:
param_cnt
= 1
param_array[0] = logo’s id (0-based)
Return Values:
On Success -> (1)
ret_char_cnt
= number of attributes
ret_char_array[0] = attribute commands with values
command1 NULL command2 NULL ... lastcommand NULL
On Failure -> (-1)
ret_error_buf contains the error message string
Selected logos
Keyword:
LOGO_SELECTED_OBJECTS
example command>
query LOGO_SELECTED_OBJECTS
Input:
Return Values:
On Success -> (1)
ret_int_cnt
= total selected logos
ret_int_array = array of selected logo ids
On Failure -> (-1)
et_error_buf contains the error message string
5-12
EnSight Interface Manual