Category Sketches and sections, Object ProSection

Function ProSectionNameSet


Description
Sets the name of the specified section.
Replacement in Object TOOLKIT: wfcSection::SetName
Synopsis
#include <ProSection.h>
ProErrorProSectionNameSet(
ProSection section
/* (In)
The section
*/
wchar_t new_name[]
/* (In)
The new name for the section
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the name.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
PRO_TK_E_FOUNDCould not rename the section because another section with this name already exists.

Manual References:

  1. Element Trees: Sections: Allocating a Two-Dimensional Section
  2. Element Trees: Sections: Allocating a Two-Dimensional Section

Sample Code References:

  1. pt_examples ( TestExtrude.c )
  2. pt_examples ( TestSect.c )
  3. pt_examples ( UtilSect.c )
  4. pt_userguide ( UgSectModelCreate.c )