aecFPL_queryByNamedGroup - PDS - 2011 R1 - Reference

FrameWorks Plus Programmer's Reference

PPMProductFamily
3D Design and Visualization
PPMProduct
PDS
PPMCategory
Reference

int aecFPL_queryByNamedGroup(*namedGroup, *num, **ids)
char namedGroup
int num
int ids

Arguments:

Inputs

  • namedGroup is the name of the named group to search for.

  • ids is the list of matching IDs of number, num

Outputs

  • num is the number of members found.

  • ids is the list of matching IDs of number, num

Description:

This function allows you to retrieve all members of a named group. The memory allocated by aecFPL_queryByNamedGroup for ids will need to be freed by the programmer.

Returns:

This function returns 0 if successful, 1 if there was a problem scanning the file.

See also:

Example:

{
char NamedGroup[24];
int numberOfIds=0, *idList=NULL, status=0;
strcpy(NamedGroup, "Beams");
status=aecFPL_queryByNamedGroup("Beams", &numberOflds, &idList);
.
.
.
if (idList)
free(idList);
idList=NULL;
}