aecFPL_queryArc - PDS - 2011 R1 - Reference

FrameWorks Plus Programmer's Reference

PPMProductFamily
3D Design and Visualization
PPMProduct
PDS
PPMCategory
Reference

int aecFPL_queryArc(member, arc, id, mid, mem_created, mem_modified, filepos, file);
FPLplaceMember *member;
FPLarc *arc;
long *id;
int *mid;
time_t *mem_created;
time_t *mem_modified;
long filePos;
int file;

Arguments:

Inputs

  • mem_created is the time of member creation. NULL if not required.

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

  • filePos is the file position of the member.

  • file is the file attachment number of the model that contains the member to query. Zero is the master model.

Outputs

  • member is the member record of the requested member.

  • arc is the arc record of the requested member.

  • id is the member ID of the requested member.

  • mid is the model ID of the attached partition.

  • mem_created is the time of member creation.

  • mem_modified is the time of member modification.

Description:

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

Returns:

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

See also:

aecFPL_modifyArc and aecFPL_placeArc