Class ImportFileDropType

3DS Max Plug-In SDK

Class ImportFileDropType

Class ImportFileDropType

See Also: Class FileDropType, List of DropTypes

class ImportFileDropType : public FileDropType

Description:

This class is available in release 4.0 and later only.

This class represents the import file (*.3ds, *.dxf, etc.) DropType and is available through the built-in type instance importFileDropType.

Methods:

public:

Prototype:

virtual int TypeCode()=0;

Remarks:

This method returns the typecode of the DropType.

Default Implementation:

{ return IMPORTFILE_DROPTYPE; }

Prototype:

virtual bool CheckDropType(TCHAR* filename);

Remarks:

This method checks if the file type associated with the DropType is recognized.

Parameters:

TCHAR* filename

The filename suffix.

Return Value:

TRUE if the filename suffix checks out, otherwise FALSE.