aecFPL_modifyArc - PDS - 2011 R1 - Reference

FrameWorks Plus Programmer's Reference

PPMProduct
PDS
PPMCategory_custom
Reference

int aecFPL_modifyArc(member, newarc, id, file)
FPLplaceMember *member;
FPLarc *newarc;
long id;
int file;

Arguments:

Inputs

  • member is the member record of the new arc.

  • newarc is the arc record of the new arc.

  • id is the ID of the arc to be modified.

  • file is the file attachment number of the model that contains the arc. Zero is the master model.

Description:

This function modifies the arc identified by arc id number and file. FrameWorks Plus will modify all attributes from the arc structure and the arc member record which differ from the existing arc attributes. The file argument must be zero, as only arcs from the local model (master file) can be modified. It is included as an argument only for consistency with the query arc function, and to ensure that an arc from the local model is not inadvertently modified after an arc is selected from an attached partition. 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 nonzero error number.

See also:

aecFPL_queryArc