Category Assembly, Object ProAsmcomppath

Function ProAsmcomppathTrfSet


Description
Assigns the transformation matrix, given the component path. The assignment is run-time only, and takes affect only when ProAssemblyDynPosSet() is PRO_B_TRUE.
Replacement in Object TOOLKIT: pfcComponentPath::SetTransform
Synopsis
#include <ProAsmcomppath.h>
ProErrorProAsmcomppathTrfSet(
ProAsmcomppath* p_path
/* (In)
The component path.
*/
ProBoolean bottom_up
/* (In)
If you request the transformation from the member to the assembly, this is PRO_B_TRUE. Otherwise, this is PRO_B_FALSE.
*/
ProMatrix transformation
/* (In)
The transformation matrix to assign.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the information.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORThe specified component path was wrong, or contained missing members.
See Also
ProAssemblyDynPosSet

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Basic Assembly Access: Locations of Assembly Components

Sample Code References:

  1. pt_examples ( TestAnimation.c )
  2. pt_examples ( TestAsm.c )
  3. pt_examples ( TestAsm.c )
  4. pt_examples ( TestAsm.c )