Category Assembly, Object ProAsmcomppath

Function ProAsmcomppathTrfGet


Description
Retrieves the transformation matrix, given the component path.
Replacement in Object TOOLKIT: pfcComponentPath::GetTransform
Synopsis
#include <ProAsmcomppath.h>
ProErrorProAsmcomppathTrfGet(
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
/* (Out)
The transformation matrix.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORThe specified component path was wrong, or contained missing members.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Basic Assembly Access: Locations of Assembly Components
  3. Assembly: Basic Assembly Access: Locations of Assembly Components
  4. Core: Coordinate Systems and Transformations: Transforming Coordinates of an Assembly Member

Sample Code References:

  1. pt_examples ( TestAnimation.c )
  2. pt_examples ( TestAsm.c )
  3. pt_examples ( TestInterface.c )
  4. pt_examples ( TestExtobj.c )
  5. pt_examples ( TestGeom.c )
  6. pt_examples ( TestGeom.c )
  7. pt_examples ( TestGeom.c )
  8. pt_examples ( TestGeom.c )
  9. pt_examples ( UtilGeom.c )
  10. pt_examples ( UtilGeom.c )
  11. pt_examples ( TestRay.c )
  12. pt_examples ( TestRay.c )
  13. pt_examples ( TestRule.c )
  14. pt_examples ( UtilMatrix.c )
  15. pt_userguide ( UgAnimAsmcompAnim.c )
  16. pt_userguide ( UgAsmcompTransfGet.c )
  17. pt_userguide ( UgDrawingDimensions.c )
  18. pt_userguide ( UgDwgtableExamples.c )
  19. pt_userguide ( UgGraphZoomAtPoint.c )