ufoEditorGetCurrentViewType

ufoEditorGetCurrentViewType(
   ufoEditor editor_instance,
   ufoViewType *io_type,
   int *io_num);

Refer to the following table for command descriptions:

Command

Description

iotype

ufoInput, ufoOutput or ufoMask

io_num

index of iotype

Inquires what view type is currently set in the editor (Input, Output or Mask) and the view index if there is more than one (for example input 0 or input 1).

Returns a value of 1 if current view type is valid or 0 if it is invalid.

ufoViewType is defined in ufoTypes.h and is one of: ufoInput, ufoOutput or ufoMask.

May be called within any editor user function.



Autodesk Softimage v7.5