[V8i SS3 MDL] Migration from V7 to V8iSS3 : how to know if I am in 3D

Hello everybody,

Once again I don't know how to 'translate' a piece of V7 code.

I have :

if ( (tcb ->fbfdcn.design3d == 0))
 {
  mdlInput_sendKeyin ("ACTE2D SECTION2D BACKDGN_RETOUR", 0, INPUTQ_EOQ, ustnTaskId);
  return INPUT_COMMAND_REJECT;
 }

'design3d' is no more an element of the fbfdcn struct.

How could I replace that piece of code in V8iSS3 ?

Can anybody tell me where can I find documentation on V7 MDL ?

Thanks, Pascal.