3ds Max C++ API Reference
marketDefaults.h File Reference
#include "coreexp.h"
#include "maxheap.h"
#include "strclass.h"
#include "maxtypes.h"
#include "plugapi.h"
#include "ParamDimension.h"
#include "geom/point3.h"
#include "geom/point4.h"

Classes

class  MarketDefaults
 This class manages the default settings of a range of 3ds Max features. More...
 
class  MarketDefaults13
 
class  MarketDefaults::Range< T, low, high >
 

Functions

CoreExport MarketDefaultsGetMarketDefaults (const MCHAR *name=NULL)
 
CoreExport MSTR GetMarketDefaultsFileName (const MCHAR *name=NULL)
 Get a filename that is in the current MarketDefaults set. More...
 
CoreExport MSTR GetMarketDefaultsWriteLocation ()
 Get the appropriate write location for a market defaults file. More...
 
CoreExport MarketDefaults13GetMarketDefaults13 (const MCHAR *name=NULL)
 

Function Documentation

◆ GetMarketDefaults()

CoreExport MarketDefaults* GetMarketDefaults ( const MCHAR name = NULL)

◆ GetMarketDefaultsFileName()

CoreExport MSTR GetMarketDefaultsFileName ( const MCHAR name = NULL)

Get a filename that is in the current MarketDefaults set.

If the file doesn't exist in the MarketDefaults set and does exits in the factoryDefaults for the MarketDefaults set it is copied to the MarketDefault set.

Parameters
[in]nameThe filename (without) path of the file whose read location is requested.
See also
IPathConfigMgr::IsUsingProfileDirectories()
IPathConfigMgr::IsUsingRoamingProfiles()
Returns
The full path of the market defaults file requested.

◆ GetMarketDefaultsWriteLocation()

CoreExport MSTR GetMarketDefaultsWriteLocation ( )

Get the appropriate write location for a market defaults file.

Get the appropriate write location for a market defaults file This value will depend on whether the application is configured to work with User Profile directories.

See also
IPathConfigMgr::IsUsingProfileDirectories()
IPathConfigMgr::IsUsingRoamingProfiles()
Returns
The path to which market default files should be written.

◆ GetMarketDefaults13()

CoreExport MarketDefaults13* GetMarketDefaults13 ( const MCHAR name = NULL)