3ds Max C++ API Reference
ImportExportInterface Namespace Reference

Functions

UtilExport void SetCanConvertUnits (bool ifSo)
 Plug-in calls to say whether plug-in can both convert to/from current system units and ignore them (no conversion) More...
 
UtilExport bool GetCanConvertUnits ()
 Max calls to ask how plug-in set canConvertUnits. More...
 
UtilExport int AskUserConvertUnits (HWND hWnd, bool isExport)
 Max calls (if plug-in can convert units) to ask user whether to do so. More...
 
UtilExport bool GetShouldConvertUnits ()
 Plug-in calls to ask whether user has indicated to convert to/from system units (only should be called if last call to SetCanConvertUnits(ifSo) had arg value true) More...
 

Function Documentation

◆ SetCanConvertUnits()

UtilExport void ImportExportInterface::SetCanConvertUnits ( bool  ifSo)

Plug-in calls to say whether plug-in can both convert to/from current system units and ignore them (no conversion)

◆ GetCanConvertUnits()

UtilExport bool ImportExportInterface::GetCanConvertUnits ( )

Max calls to ask how plug-in set canConvertUnits.

◆ AskUserConvertUnits()

UtilExport int ImportExportInterface::AskUserConvertUnits ( HWND  hWnd,
bool  isExport 
)

Max calls (if plug-in can convert units) to ask user whether to do so.

◆ GetShouldConvertUnits()

UtilExport bool ImportExportInterface::GetShouldConvertUnits ( )

Plug-in calls to ask whether user has indicated to convert to/from system units (only should be called if last call to SetCanConvertUnits(ifSo) had arg value true)