API 설명서 > Sketches and sections > Object ProSection > Function ProSectionConstraintsGet
Function ProSectionConstraintsGet
Description
Returns information about the specified section constraint.
Synopsis
#include <ProSection.h>
ProSectionConstraintsGet
(
ProSection section
/* (In)
The section that belongs to a feature.
*/
int constraint_id
/* (In)
The constraint identifier for which the information is requested.
*/
/* (Out)
The constraint type.
*/
/* (Out)
The status of the constraint.
*/
int* num_refs
/* (Out)
The number of section entities referenced by the constraint.
*/
int** p_ent_ids
/* (Out)
A pointer to the array of size num_refs that contains the referenced entity identifiers. The function allocates the memory for this argument. Call ProArrayFree(ProArray*)p_ent_ids) to free the memory.
*/
/* (Out)
A pointer to the array of size num_refs that contains the codes for which part of the corresponding entity is affected by the constraint. The function allocates the memory for this argument. Call ProArrayFree(ProArray*)p_senses) to free the memory.
*/
)
Returns
The function successfully retrieved the information.
The input argument is invalid.
See Also
Sample Code References
User Guide References
도움이 되셨나요?