Category Sketches and sections, Object ProSection

Function ProSectionActiveSet


Description
Set a copy of the section to be a current active sketcher section. Caller is responsible for the section validity. This section will also be added to Undo/Redo stack. The section must be solved or to be in Intent Manager mode.
Replacement in Object TOOLKIT: wfcSection::SetActive
Synopsis
#include <ProSection.h>
ProErrorProSectionActiveSet(
ProSection section
/* (In)
section that its copy will be set as the active section
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_BAD_INPUTSInvalid section
PRO_TK_GENERAL_ERRORSection can not be set active

Manual References:

  1. Element Trees: Sections: Copying the Current Section