Category Assembly, Object ProAsmcompconstraint

Function ProAsmcompconstraintCompreferenceGet


Description
retrieves the constraint references and orientations for the given constraint.
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompconstraintCompreferenceGet(
ProAsmcompconstraint constraint
/* (In)
The Assembly component constraint.
*/
ProSelection* comp_ref
/* (Out)
The component reference.
*/
ProDatumside* comp_orient
/* (Out)
component orientation
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe argument is invalid.
PRO_TK_E_NOT_FOUNDComponent reference not found .
PRO_TK_GENERAL_ERRORInformation retrieval failed .

Manual References:

  1. Assembly: Assembling Components: Assembling a Component Parametrically
  2. Assembly: Assembling Components: Assembling a Component Parametrically
  3. Assembly: Assembling Components: Placement Constraints

Sample Code References:

  1. pt_userguide ( UgAsmcompConstraint.c )