Category Sketches and sections, Object ProSection

Function ProSection2DAlloc


Description
Allocates a two-dimensional section.
Replacement in Object TOOLKIT: wfcWSession::CreateSection2D
Synopsis
#include <ProSection.h>
ProErrorProSection2DAlloc(
ProSection* p_2d_section
/* (Out)
The new ProSection
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully allocated the handle.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_OUT_OF_MEMORYThere was a memory error.

Manual References:

  1. Core: Models and Model Items: Creating Models
  2. Core: Models and Model Items: Creating Models
  3. Element Trees: Sections: Allocating a Two-Dimensional Section
  4. Element Trees: Sections: Allocating a Two-Dimensional Section

Sample Code References:

  1. pt_examples ( TestExtrude.c )
  2. pt_examples ( TestSect.c )
  3. pt_userguide ( UgSectModelCreate.c )
  4. pt_userguide ( UgSktFirstFeatureCreate.c )
  5. pt_userguide ( UgSktFirstFeatureRevCreate.c )