API 설명서 > Sketches and sections > Object ProSection > Function ProSectionConstraintCreate
Function ProSectionConstraintCreate
Description
Create the constraints with the entities in the specified section to each other.
This function should only be called if Intent Manager mode is used for the section (see ProSectionIntentManagerModeSet()
Synopsis
#include <ProSection.h>
ProSectionConstraintCreate
(
ProSection handle
/* (In)
The section handle
*/
ProSelection* ref_ent
/* (In)
An array of selection of entities
*/
int num_ents
/* (In)
Number of selection entities.
*/
ProConstraintType constr_type
/* (In)
The constraint type.
*/
int* constr_id
/* (Out)
Created constraint id
*/
)
Returns
The function successfully creates the constraints.
One or more of the input arguments are invalid.
Intent Manager mode is not used for the section
The constraint exists.
Constraint creation is not possible with the give input.
Sample Code References
User Guide References
도움이 되셨나요?