API 文件集 > Sketches and sections > Object ProSection > Function ProSectionSolveRigid
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>
ProSectionSolveRigid
(
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
The function successfully solved the section.
Model is in read-only state.
One or more of the input arguments are invalid.
Intent Manager mode is used for the section
A coordinate system must be supplied for this operation, but none was found.
Other
Another error occurred and the function failed.
Sample Code References
User Guide References
這是否有幫助?