API 文件集 > Mechanica > Object ProMechconstr > Function ProMechconstrConstrsetAssign
Function ProMechconstrConstrsetAssign
Description
Associates constraint with given constraint set.
Licensing Requirement
Synopsis
ProMechconstrConstrsetAssign
(
/* (In)
The constraint to be added.
*/
int constrsetid
/* (In)
Constraintset id to which the constraint is to be added.
*/
ProBool unassign
/* (In)
PRO_B_TRUE : Removes the constraint from previous set(if any). PRO_B_FALSE : Does not remove the constraint from previous set. Currently PRO_B_FALSE is not supported.
*/
)
Returns
The function succeeded.
One or more input arguments are invalid.
The Creo Simulate session is not initialized.
The Input ProMechItem Solid pointer is invalid.
Subtype cannot be changed.
Sample Code References
這是否有幫助?