Documentação da API > Mechanism Design > Object ProSnapshot > Function ProSnapshotTrfsGet
Function ProSnapshotTrfsGet
Description
brings transformation paths and transformation matrices for all components in the snapshot versus top level assembly.
Replacement in Object TOOLKIT:
Synopsis
#include <ProKinDrag.h>
ProSnapshotTrfsGet
(
const ProName snap_name
/* (In)
Name of the snapshot.
*/
const ProAsmcomppath* path
/* (In)
ProAsmcomppath of snapshot. NULL can be passed for top level snapshot.
*/
ProAsmcomppath** path_arr
/* (Out)
The array of ProAsmcomppath calculated from top assembly. The function allocates the memory for this argument. To free the memory, call ProArrayFree().
*/
ProMatrix** trf_arr
/* (Out)
The array of transformation matrices showing transformation from specified component to the top level assembly. The function allocates the memory for this argument. To free the memory, call ProArrayFree().
*/
)
Returns
The function was successful.
The snapshot with specified name is not found.
The function failed.
Sample Code References
User Guide References
Isto foi útil?