| Description |
| redefine existing combined state. |
| Replacement in Object TOOLKIT: | wfcCombState::RedefineCombState |
| Synopsis |
| #include <ProCombstate.h> |
| ProError | ProCombstateRedefine | ( |
| ProCombstate* cs_item | |
| /*
(In) |
| Combined state item to redefine. |
| */ |
| ProModelitem* ref_arr | |
| /*
(In) |
| ProArray of reference items to redefine. See ProCombstateDataGet for possible types of items in this array. The new references override the existing ones. If a reference shouldn't be changed it should be passed with same ID. Not passing references, will result in redefining a state to NO_STATE. NO_STATE means, that activation of a combined state won't affect this particular state. The reference array must be non empty. |
| */ |
| ProCrossecClipOpt clip_opt | |
| /*
(In) |
| Cross section clipping option of a state. |
| */ |
| ProBool is_expld | |
| /*
(In) |
| State exploded/unexploded? |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | Combined state redefined. |
| PRO_TK_BAD_INPUTS | | Invalid solid or cs_item. |
| PRO_TK_INVALID_TYPE | | Invalid references. Possible errors: |
| | - The type of one of the references is not valid. |
| | - Reference of some type appears twice or more. |
| | - Id and type of a reference don't match. |
|