Category Assembly, Object ProAsmcompconstraint

Function ProAsmcompconstraintAsmreferenceGet


Description
retrieves the constraint references and orientations for the given constraint.
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompconstraintAsmreferenceGet(
ProAsmcompconstraint constraint
/* (In)
The Assembly component constraint.
*/
ProSelection* asm_ref
/* (Out)
The assembly reference.
*/
ProDatumside* asm_orient
/* (Out)
assembly orientation
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe argument is invalid.
PRO_TK_E_NOT_FOUNDAssembly 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 )