Documentação da API > Mechanism Design > Object ProSnapshot > Function ProSnapshotConstraintsGet
Function ProSnapshotConstraintsGet
Description
brings all constraints from a snapshot.
Synopsis
#include <ProKinDrag.h>
ProSnapshotConstraintsGet
(
const ProName snap_name
/* (In)
Name of the snapshot.
*/
const ProAsmcomppath* path
/* (In)
ProAsmcomppath of snapshot. NULL can be passed for top level.
*/
ProSnapshotConstraint** constraints
/* (Out)
The array of snapshot constraints. The function allocates the memory for this argument. To free the memory, call ProSelectionarrayFree() for sel_array in each constraint and then ProArrayFree() for the constraints.
*/
)
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?