Category Sketches and sections, Object ProSection

Function ProSectionRegenerate


Description
Regenerates the specified section.

This function shouldn't be called if Intent Manager mode is used for the section (see ProSectionIntentManagerModeSet()

Synopsis
#include <ProSection.h>
ProErrorProSectionRegenerate(
ProSection section
/* (In)
The solved section
*/
ProWSecerror* sec_errors
/* (Out)
The section errors filled out by the function. 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
PRO_TK_NO_ERRORThe function successfully regenerated the section.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_BAD_CONTEXTIntent Manager mode is used for the section
PRO_TK_OUT_OF_MEMORYThere was a memory error.
OtherAnother error occurred and the function failed.

Manual References:

  1. Element Trees: Sections: Solving and Regenerating a Section
  2. Element Trees: Sections: Error Reporting

Sample Code References:

  1. pt_examples ( TestExtrude.c )
  2. pt_examples ( TestSect.c )
  3. pt_examples ( TestSect.c )
  4. pt_examples ( TestSect.c )
  5. pt_examples ( TestSect.c )
  6. pt_examples ( UtilSect.c )
  7. pt_examples ( UtilSect.c )
  8. pt_examples ( UtilSect.c )
  9. pt_userguide ( Ug3DSectSplineDim.c )
  10. pt_userguide ( Ug3DSection.c )
  11. pt_userguide ( Ug3DSection.c )
  12. pt_userguide ( Ug3DSection.c )
  13. pt_userguide ( Ug3DSection.c )
  14. pt_userguide ( Ug3DSection.c )
  15. pt_userguide ( UgSktFirstFeatureCreate.c )
  16. pt_userguide ( UgSktFirstFeatureRevCreate.c )
  17. pt_userguide ( UgSweepCreate.c )