aecFPL_queryMember - PDS - 2011 R1 - Reference

FrameWorks Plus Programmer's Reference

PPMProductFamily
3D Design and Visualization
PPMProduct
PDS
PPMCategory
Reference

int aecFPL_queryMember (member, id, modelID, mem_created, mem_modified, filePos, file);
FPLplaceMember *member;
long *id;
int *modelID;
time_t *mem_created;
time_t *mem_modified;
long filePos;
int file;

Arguments:

Inputs

  • mem_created is the time the member was created or NULL if not required.

  • mem_modified is the time of the last member modification or NULL if not required.

  • filePos is the member file position in bytes.

  • file is the file attachment number of the model that contains the member you want to query. Master model is 0.

Outputs

  • member is the attributes of the member or NULL.

  • id is the member ID of the requested member.

  • modelID is the model ID of the model that contains the member.

  • mem_created is the time the member was created.

  • mem_modified is the time of the last member modification.

Description:

This function allows you to retrieve all of the attributes from a selected FrameWorks Plus member. The member is identified by its file position (filePos) and file number (file). You may query a member in the local model database, or one from an attached partition (file greater than 0). The member attributes are returned in the FPLplaceMember structure, which is identical to the structure used in the member placement and modification functions. The structures for this function are described in ..\fwplus\fpl\inc\FPL.h.

You can also use the aecFPL_queryMember to simply return the member id and model ID by passing a NULL pointer for member.

Returns:

This function returns SUCCESS (0) if successful. Otherwise, it returns a non-zero error number.

See also: