Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
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. Related functions: edmiGetUpperIndex , edmiGetLowerBound , edmiGetUpperBound , edmiGetAggrDomain
Header:
#include "sdai.h"
Prototype:
EdmiError edmiGetLowerIndex(SdaiArray   array,
                             SdaiInteger *lowerIndex); 
Arguments:

 

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

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 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 (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"