![]() |
PK_SESSION_behaviour_t |
struct PK_SESSION_behaviour_s
{
PK_SESSION_behave_as_t behaviour_type; --- type of behaviour
int behaviour_value; --- specific behaviour value
};
typedef struct PK_SESSION_behaviour_s PK_SESSION_behaviour_t;
Parameters of PK_SESSION_ask_behaviour and PK_SESSION_set_behaviour.
PK_SESSION_ask_behaviour
PK_SESSION_ask_latest_behaviour
PK_SESSION_set_behaviour
Description of fields:
'behaviour_type' The value of a token specifying the type of behaviour that is
requested or set. See the documentation of
PK_SESSION_behave_as_t.
'behaviour_value' This is an integer representing an explicit behaviour value.
It is zero if 'behaviour_type' is
PK_SESSION_behave_as_unset_c.
It must be set to zero when calling PK_SESSION_set_behaviour
if 'behaviour_type' is not PK_SESSION_behave_as_value_c.
Otherwise it is a non-zero value in the form MMmmpp where MM
is the major version number, mm is the minor version number
and pp is a two-digit number indicating the sub-minor version
of the behaviour.
For example, in Parasolid V28.1 this is an integer of the
form "2801pp". "pp" is "00" if the behaviour is that at FCS
and non-zero, eg "01", if it varies from that.