Object ProCombstate

Function ProCombstateAnnotationsAndSupplGeomStateSet


Description
Change Annotations and Supplementary Geometry state at combined state.
Synopsis
#include <ProCombstate.h>
ProErrorProCombstateAnnotationsAndSupplGeomStateSet(
ProCombstate* cs_item
/* (In)
Pointer to a combined state item to retrieve the state from.
*/
ProBool annotation_state
/* (In)
Flag to set the given combined state's Annotations state. PRO_B_TRUE set display controlled by combined state. PRO_B_FALSE set display controlled by layers.
*/
ProBool supplgeom_state
/* (In)
Flag to set the given combined state's Supplementary Geometry state. If supplgeom_state set to PRO_B_TRUE, also annotation_state should set to PRO_B_TRUE. PRO_B_TRUE set display controlled by combined state. PRO_B_FALSE set display controlled by layers.
*/
)
Returns
PRO_TK_NO_ERRORThe states were set successfully.
PRO_TK_BAD_INPUTSInvalid combined state item. Model passed in cs_item is NULL, or the type of the item is not of PRO_COMBINED_STATE. Also will return for invalid combination supplgeom_state set to PRO_B_TRUE and annotation_state set to PRO_B_FALSE.
PRO_TK_BAD_CONTEXTThe operation can't be done. (Model should be top)
PRO_TK_NO_CHANGECombined state current annotations and supplementary geometry states are the same as the requested states.

Manual References:

  1. Core: Solids, Parts, and Materials: Combined States of a Solid
  2. Core: Solids, Parts, and Materials: Combined States of a Solid