Documentación de la API > Mechanism Design > Object ProSnapshot > Function ProSnapshotConstraintAdd
Function ProSnapshotConstraintAdd
Description
adds a constraint to a snapshot. Available for top level snapshot only.
Synopsis
#include <ProKinDrag.h>
ProSnapshotConstraintAdd
(
const ProName snap_name
/* (In)
Name of the snapshot.
*/
const ProSnapshotConstraint* constraint
/* (In)
Pointer of the constraint to be added. The field constraint->valid is ignored.
*/
)
Returns
The function was successful.
The snapshot with specified name is not found.
The similar constraint exists in the snapshot.
The constraint->value is out of range.
The function failed.
User Guide References
¿Fue esto útil?