Category
Sketches and sections
, Object
ProSection
Function ProSection2DAlloc
Description
Allocates a two-dimensional section.
Replacement in Object TOOLKIT:
wfcWSession::CreateSection2D
Synopsis
#include <
ProSection.h
>
ProError
ProSection2DAlloc
(
ProSection
*
p_2d_section
/* (Out)
The new
ProSection
*/
)
Returns
PRO_TK_NO_ERROR
The function successfully allocated the handle.
PRO_TK_BAD_INPUTS
The input argument is invalid.
PRO_TK_OUT_OF_MEMORY
There was a memory error.
Manual References:
Core: Models and Model Items: Creating Models
Core: Models and Model Items: Creating Models
Element Trees: Sections: Allocating a Two-Dimensional Section
Element Trees: Sections: Allocating a Two-Dimensional Section
Sample Code References:
pt_examples ( TestExtrude.c )
pt_examples ( TestSect.c )
pt_userguide ( UgSectModelCreate.c )
pt_userguide ( UgSktFirstFeatureCreate.c )
pt_userguide ( UgSktFirstFeatureRevCreate.c )