Category Sketches and sections, Object ProSection

Function ProSectionSolveRigid


Description
Solves the specified section by fixing the coordinates of all the entities with respect to a coordinate system. The coordinate system is taken to be the first coordinate system in the section.

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

Synopsis
#include <ProSection.h>
ProErrorProSectionSolveRigid(
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
PRO_TK_NO_COORD_SYSTEMA coordinate system must be supplied for this operation, but none was found.
OtherAnother error occurred and the function failed.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestSect.c )