edmiGetLowerIndex

EdmiError edmiGetLowerIndex(SdaiArray   array,
                             SdaiInteger *lowerIndex); 

Returns the lower index of an ARRAY instance. See paragraph 15.17 in ISO 10303-11:1994(E) : The EXPRESS Language Reference Manual. The model that holds the actual ARRAY aggregate must be open before this operation can be successfully performed.

 

Arguments


TypeNameComment
SdaiArray

array

A numeric arrayID that uniquely identifies the ARRAY aggregate instance of interest in the EDMdatabase. The arrayID is returned when the ARRAY is created or it can be retrieved with an EDMinterface get operation.

SdaiInteger

lowerIndex

An integer number is returned which specifies the lower index of the specified ARRAY aggregate.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 SdaiArray array;
 SdaiInteger lowerIndex;
 EdmiError rstat;
 . . .
 if (rstat = edmiGetLowerIndex(array, &lowerIndex)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiGetLowerIndex\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 /* print lower index of array */
 printf("\nLower index of array: %lu is %ld",array,lowerIndex);
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.

Â