Category Sketches and sections, Object ProSection

Function ProSectionSolve


Description
Solves the specified section.

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

Synopsis
#include <ProSection.h>
ProErrorProSectionSolve(
ProSection section
/* (In)
The handle to an unsolved 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 solved the section.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_BAD_CONTEXTIntent Manager mode is used for the section
OtherAnother error occurred and the function failed.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestSect.c )
  2. pt_examples ( UtilSect.c )
  3. pt_geardesign ( GearDesignUtils.c )
  4. pt_geardesign ( GearDesignUtils.c )
  5. pt_geardesign ( GearDesignUtils.c )
  6. pt_userguide ( Ug3DSectSplineDim.c )
  7. pt_userguide ( Ug3DSectSplineDim.c )
  8. pt_userguide ( Ug3DSection.c )
  9. pt_userguide ( UgSectModelCreate.c )
  10. pt_userguide ( UgSweepCreate.c )