Category Sketches and sections, Object ProSection

Function ProSectionActiveGet


Description
Returns a copy of the current active sketcher section. Note that if Intent Manager mode is supposed to be used for this section, the call ProSectionIntentManagerModeSet( section, PRO_B_TRUE ) must follow the call to ProSectionActiveGet().
Replacement in Object TOOLKIT: wfcWSession::GetActiveSection
Synopsis
#include <ProSection.h>
ProErrorProSectionActiveGet(
ProSection* p_section
/* (Out)
copy of the current sketcher section
*/
)
Returns
PRO_TK_NO_ERRORsuccess
PRO_TK_BAD_INPUTSinvalid argument
PRO_TK_GENERAL_ERRORsection can not be returned

Manual References:

  1. Element Trees: Sections: Copying the Current Section
  2. Element Trees: Sections: Copying the Current Section