API 설명서 > Sketches and sections > Object ProSection > Function ProSectionAutodim
Function ProSectionAutodim
Description
Adds dimensions to the section as needed to make it fully constrained.
This function shouldn't be called if Intent Manager mode is used for the section (see ProSectionIntentManagerModeSet()
Replacement in Object TOOLKIT:
Synopsis
#include <ProSection.h>
ProSectionAutodim
(
ProSection section
/* (In)
The solved section. This cannot be NULL.
*/
ProWSecerror* sec_errors
/* (Out)
The section errors filled out by the function, if any. Before calling this function, allocate the pointer to ProWSecerror using ProSecerrorAlloc(). This array is populated if the function returns a value other than PRO_TK_NO_ERROR. Free the allocated memory later using the function ProSecerrorFree().
*/
)
Returns
The function successfully regenerated the section.
The input argument is invalid.
Intent Manager mode is used for the section
There was a memory error.
Other
Another error occurred and the function failed.
Sample Code References
User Guide References
도움이 되셨나요?