3ds Max C++ API Reference
IATSMax Class Referenceabstract

Interface to Asset Tracking System. More...

#include <IATSMax.h>

+ Inheritance diagram for IATSMax:

Public Member Functions

Dialog Access

Get visibility state of dialog

virtual bool GetVisible ()=0
 
virtual void SetVisible (bool bVisible)=0
 Set visibility state of dialog. More...
 
virtual int NumFilesSelected ()=0
 Number of files selected in dialog. More...
 
virtual int GetSelectedFiles (MaxSDK::Array< MSTR > &fileList)=0
 Get selected files. More...
 
virtual int GetFilesByFileSystemStatus (DWORD dwFSStatus, MaxSDK::Array< MSTR > &fileList)=0
 Get a tab of files based on their file system status. More...
 
virtual DWORD GetFileSystemStatus (const MCHAR *szFilename)=0
 Return the file system status of the specified file. More...
 
virtual int GetResolvedPaths (const MaxSDK::Array< MSTR > &fileList, MaxSDK::Array< MSTR > &resolvedFileList)=0
 Get the resolved file paths for a given list of files. More...
 
virtual int GetDependencyFileList (Animatable *animatable, MaxSDK::Array< MSTR > &fileList, bool includeRefHierarchy, bool caseSensitiveFilenames=true, bool getResolvedFileNames=true)=0
 Get the list of unique filenames that are used by the given Animatable. More...
 
virtual int NumFiles ()=0
 Number of files in dialog. More...
 
virtual int GetFiles (MaxSDK::Array< MSTR > &fileList)=0
 Get files. More...
 
virtual int GetATSFileList (ATSFileList &atsFileList, bool bSetAllActive, bool bTagExcluded)=0
 Populate an ATSFileList object. More...
 
virtual int GetDependentFiles (const MCHAR *szFile, bool bRecurse, MaxSDK::Array< MSTR > &fileList, bool bIncludeOutputFiles=true)=0
 Get list of dependent files. More...
 
virtual bool IsInputFile (const MCHAR *szFile)=0
 Determine if a file is an input file and a true dependent file. More...
 
virtual void SelectFiles (const MaxSDK::Array< MSTR > &fileList, bool useResolvedFileNames=true)=0
 Select files. More...
 
virtual void ClearSelection ()=0
 Clears all selections in dialog. More...
 
virtual void Refresh ()=0
 Refreshes the dialog. More...
 
Options

Get disabled state of dialog

virtual bool GetDisabled ()=0
 
virtual void SetDisabled (bool bDisabled)=0
 Set disabled state of dialog. More...
 
virtual bool GetSilent ()=0
 Get silent state of dialog. More...
 
virtual void SetSilent (bool bSilent)=0
 Set silent state of dialog. More...
 
virtual bool GetAutoLogin ()=0
 Get autologin state of dialog. More...
 
virtual void SetAutoLogin (bool bAutoLogin)=0
 Set autologin state of dialog. More...
 
virtual bool GetTreeView ()=0
 Get state of tree view. More...
 
virtual void SetTreeView (bool bTreeView)=0
 Set state of tree view. More...
 
virtual bool GetTableView ()=0
 Get state of table view. More...
 
virtual void SetTableView (bool bTableView)=0
 Set state of table view. More...
 
virtual bool GetCheckNetworkPaths () const =0
 Get state of Check Network Path property. More...
 
virtual void SetCheckNetworkPaths (bool bCheckPaths)=0
 Set state of Check Network Path property. More...
 
virtual bool GetDisplayExcluded ()=0
 Get display state of excluded files. More...
 
virtual void SetDisplayExcluded (bool bDisplay)=0
 Set display state of excluded files. More...
 
virtual bool GetExcludeOutputFiles ()=0
 Get the exclusion state of output files. More...
 
virtual void SetExcludeOutputFiles (bool bExclude)=0
 Set the exclusion state of output files. More...
 
Aux Dialog

Display Prompts dialog

virtual void ShowPromptsDialog ()=0
 Display Working Comment dialog. More...
 
virtual void ShowWorkingCommentDialog ()=0
 Display Working Comment dialog. More...
 
virtual void ShowStatusLogDialog ()=0
 Display Status Log dialog. More...
 
Providers

Number of registered providers

virtual int NumProviders ()=0
 
virtual IATSProviderGetProvider (int iProviderIndex)=0
 Get IATSProvider pointer. More...
 
virtual const MCHARGetProviderName (int iProviderIndex)=0
 Get ATS Provider name. More...
 
virtual int GetActiveProvider ()=0
 Get active ATS Provider index. More...
 
virtual void SetActiveProvider (int iProviderIndex)=0
 Set active ATS Provider. More...
 
virtual bool LoginProvider (int iProviderIndex)=0
 Login to specified ATS Provider. More...
 
virtual bool LogoutProvider (int iProviderIndex)=0
 Logout of specified ATS Provider. More...
 
virtual bool IsFileExcluded (int iProviderIndex, const MCHAR *szFile)=0
 Determine if a file is excluded by an ATS Provider. More...
 
virtual bool IsFileShareLocked (int iProviderIndex, const MCHAR *szFile)=0
 Determine if a file is share locked by an ATS Provider. More...
 
virtual bool Checkin (int iProviderIndex, const MaxSDK::Array< MSTR > &fileList, MSTR &strComment)=0
 Checkin list of files to an ATS Provider. More...
 
virtual bool Checkout (int iProviderIndex, const MaxSDK::Array< MSTR > &fileList, MSTR &strComment)=0
 Checkout list of files to an ATS Provider. More...
 
virtual bool UnCheckout (int iProviderIndex, const MaxSDK::Array< MSTR > &fileList)=0
 Undo Checkout for list of files fr an ATS Provider. More...
 
virtual bool AddFiles (int iProviderIndex, const MaxSDK::Array< MSTR > &fileList, MSTR &strComment, Tab< bool > *pIsHidden=NULL)=0
 Add list of files to an ATS Provider. More...
 
virtual bool GetLatest (int iProviderIndex, const MaxSDK::Array< MSTR > &fileList)=0
 Get latest version of list of files for an ATS Provider. More...
 
Policies

Policy check for dependent files

virtual void CheckForDependentFiles (int iProviderIndex, const MCHAR *szFilename)=0
 This will verify that the dependent files, as reported by the ATS Provider, are up to date on the user's machine. More...
 
virtual void CheckForCheckedOutFiles (int iProviderIndex)=0
 Policy check for checked out files. More...
 
virtual void CheckForUnControlledFiles (int iProviderIndex)=0
 Policy check for uncontrolled files. More...
 
virtual void CheckForOutDatedFiles (int iProviderIndex)=0
 Policy check for out dated files. More...
 
virtual void CheckForSceneFileCheckOut (int iProviderIndex)=0
 Policy check scene file. More...
 
Misc

Set the current Working Comment

virtual void SetWorkingComment (const MCHAR *szComment)=0
 
virtual const MCHARGetWorkingComment ()=0
 Get the current Working Comment. More...
 
virtual void AppendStatusLog (const MCHAR *szStatus)=0
 Append status message to Status Log. More...
 
virtual void ClearStatusLog ()=0
 Clear the contents of the Status Log. More...
 
virtual const MCHARGetStatusLog ()=0
 Get the conents of the Status Log. More...
 
Repathing functionality - via UI

Sets the path on all listed assets to the passed in path

virtual bool SetPath (const MCHAR *aNewPath, bool aCreateOutputFolder=false)=0
 Sets the path component of all listed assets to the value passed in to this function. More...
 
virtual bool SetPathOnSelection (const MCHAR *aNewPath, bool aCreateOutputFolder=false)=0
 Sets the path on the asset selection set. More...
 
virtual bool RetargetCommonRoot (const MCHAR *aNewPath, bool aCreateOutputFolder=false)=0
 Retargets the common-root portion of all assets listed in the ATS. More...
 
virtual bool RetargetCommonRootOfSelection (const MCHAR *aNewPath, bool aCreateOutputFolder=false)=0
 Retargets the common-root portion of assets selected in the ATS. More...
 
virtual bool RetargetSelection (const MCHAR *aNewPath, bool aCreateOutputFolder=false)=0
 Retargets single-asset selection to the value passed in. More...
 
virtual bool ResolveSelectionToUNC ()=0
 Resolve the current selection set to its UNC equivalent,. More...
 
virtual bool ResolveSelectionRelativeToProjectFolder ()=0
 Converts the current selection set to relative paths. More...
 
virtual bool ResolveSelectionToAbsolute ()=0
 Converts the current selection set to absolute paths. More...
 
Repathing functionality - generic

Generically remaps assets declared by a ReferenceTarget.

virtual bool RetargetAssets (ReferenceTarget &refTarget, const MCHAR *aOldPath, const MCHAR *aNewPath, bool aCreateOutputFolder=false)=0
 Generically remaps assets declared by ReferenceTarget whose path value is equal to aOldPath (case-insensitive comparison), to the value aNewPath passed-in. More...
 
- Public Member Functions inherited from FPInterfaceDesc
CoreExport FPInterfaceDesc ()
 
CoreExport FPInterfaceDesc (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *cd, ULONG flag,...)
 
CoreExport ~FPInterfaceDesc ()
 
virtual void Init ()
 
LifetimeType LifetimeControl ()
 
virtual BaseInterfaceGetInterface (Interface_ID id)
 
CoreExport void LoadDescriptor (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *pCD, ULONG flag,...)
 
CoreExport void AppendFunction (int id,...)
 Add a new function to this interface descriptor. More...
 
CoreExport void AppendProperty (int id,...)
 Add a new property to this interface descriptor. More...
 
CoreExport void AppendEnum (int id,...)
 Add a new enum to this interface descriptor. More...
 
CoreExport void SetClassDesc (ClassDesc *i_cd)
 
CoreExport va_list check_fn (va_list ap, int id)
 
CoreExport va_list scan_fn (va_list ap, int id, int index)
 
CoreExport va_list check_prop (va_list ap, int id)
 
CoreExport va_list scan_prop (va_list ap, int id, int index)
 
CoreExport va_list check_enum (va_list ap, EnumID id)
 
CoreExport va_list scan_enum (va_list ap, EnumID id, int index)
 
FPInterfaceDescGetDesc ()
 
Interface_ID GetID ()
 
CoreExport FPFunctionDefGetFnDef (FunctionID fid)
 
ActionTableGetActionTable ()
 
CoreExport void EnableActions (BOOL onOff)
 
virtual CoreExport HINSTANCE HInstance ()
 
virtual CoreExport const MCHARGetRsrcString (StringResID id)
 
- Public Member Functions inherited from FPInterface
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPParams *params)
 
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL)
 
virtual CoreExport FunctionID FindFn (const MCHAR *name)
 
virtual CoreExport BOOL IsEnabled (FunctionID actionID)
 
virtual CoreExport BOOL IsChecked (FunctionID actionID)
 
virtual CoreExport BOOL IsVisible (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsEnabled (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsChecked (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsVisible (FunctionID actionID)
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor. More...
 
virtual bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=NULL)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

Additional Inherited Members

- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease , immediateRelease , wantsRelease , serverControlled }
 
- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 
- Public Attributes inherited from FPInterfaceDesc
Interface_ID ID
 
MSTR internal_name
 
StringResID description
 
ClassDesccd
 
USHORT flags
 
Tab< FPFunctionDef * > functions
 
Tab< FPPropDef * > props
 
Tab< FPEnum * > enumerations
 
MSPluginClasspc
 
Rolloutrollout
 
ActionTableaction_table
 
- Static Public Attributes inherited from FPInterface
static CoreExport FPInterfaceDesc nullInterface
 
- Protected Member Functions inherited from FPInterfaceDesc
CoreExport void load_descriptor (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *cd, USHORT flag, va_list ap)
 
- Protected Member Functions inherited from FPInterface
virtual FPStatus _dispatch_fn (FunctionID fid, TimeValue t, FPValue &result, FPParams *p)
 

Detailed Description

Interface to Asset Tracking System.

This interface gives access to the Asset Tracking System. This includes control over the Asset Tracking dialog, support dialogs, and version control system integration. It also provides access to the Asset Repathing UI functionality and file dependency information. The version control system related methods (such as checkin, checkout, etc.) incorporate the common dialogs used for all providers. For lower level access to providers use the IATSProvider interface.

See also
IATSProvider, ATSFileList

Member Function Documentation

◆ GetVisible()

virtual bool GetVisible ( )
pure virtual
Returns
true if visible, false if not

◆ SetVisible()

virtual void SetVisible ( bool  bVisible)
pure virtual

Set visibility state of dialog.

Parameters
[in]bVisibletrue to display dialog, false to hide dialog

◆ NumFilesSelected()

virtual int NumFilesSelected ( )
pure virtual

Number of files selected in dialog.

Returns
number of files selected in dialog

◆ GetSelectedFiles()

virtual int GetSelectedFiles ( MaxSDK::Array< MSTR > &  fileList)
pure virtual

Get selected files.

Parameters
[out]fileListreference to a Tab of MSTRs. This parameter will be filled with a copy of the selected files names
Returns
number of files selected in dialog

◆ GetFilesByFileSystemStatus()

virtual int GetFilesByFileSystemStatus ( DWORD  dwFSStatus,
MaxSDK::Array< MSTR > &  fileList 
)
pure virtual

Get a tab of files based on their file system status.

Parameters
[in]dwFSStatusis a mask of kATSFSStatusXXX flags used to match against file entries.
[out]fileListreference to a Tab of MSTRs. This parameter will be filled with a copy of the files matching the dwFSStatus flags.
Returns
number of files found

◆ GetFileSystemStatus()

virtual DWORD GetFileSystemStatus ( const MCHAR szFilename)
pure virtual

Return the file system status of the specified file.

Parameters
[in]szFilenamestring containing the filename to retrieve status from.
Returns
file system status flag

◆ GetResolvedPaths()

virtual int GetResolvedPaths ( const MaxSDK::Array< MSTR > &  fileList,
MaxSDK::Array< MSTR > &  resolvedFileList 
)
pure virtual

Get the resolved file paths for a given list of files.

Parameters
[in]fileListreference to a Tab of MSTRs.
[out]resolvedFileListreference to a Tab of MSTRs that contains the same number of entries in fileList. If the file was found or is still missing the entry in resolvedFileList will be the same as fileList. If the file was resolved the entry in resolvedFileList will contains the resolved file path. Resolved files are files not found in the location specified within the scene file but are found using the standard and user defined search paths.
Returns
the number of resolved paths

◆ GetDependencyFileList()

virtual int GetDependencyFileList ( Animatable animatable,
MaxSDK::Array< MSTR > &  fileList,
bool  includeRefHierarchy,
bool  caseSensitiveFilenames = true,
bool  getResolvedFileNames = true 
)
pure virtual

Get the list of unique filenames that are used by the given Animatable.

Parameters
[in]animatableThe animatable for which the file dependencies are to be listed.
[out]fileListThe table through which the file list is returned.
[in]includeRefHierarchySet to true to list dependencies of the entire reference hierarchy of 'animatable'; set to false to limit the list to 'animatable'.
[in]caseSensitiveFilenamesSet to false for method to handle asset filenames in a case insensitive manner when comparing filenames for determining uniqueness.
[in]getResolvedFileNamesSet to false for method to collect the assets' specified filenames. If true, if the filename can be resolved then the resolved filename is collected otherwise the specified filename is collected.

◆ NumFiles()

virtual int NumFiles ( )
pure virtual

Number of files in dialog.

Returns
number of files in dialog

◆ GetFiles()

virtual int GetFiles ( MaxSDK::Array< MSTR > &  fileList)
pure virtual

Get files.

Parameters
[out]fileListreference to a Tab of MSTRs. This parameter will be filled with a copy of the files names in the dialog
Returns
number of files in dialog

◆ GetATSFileList()

virtual int GetATSFileList ( ATSFileList atsFileList,
bool  bSetAllActive,
bool  bTagExcluded 
)
pure virtual

Populate an ATSFileList object.

See also
ATSFileList
Parameters
[out]atsFileListreference to an ATSFileList object.
[in]bSetAllActivespecifies if all of the files added to the ATSFileList object will be marked as active (kATSStatusActive)
[in]bTagExcludedspecifies if files excluded from the current provider should be marked as excluded (kATSStatusExcluded)
Returns
number of files added to atsFileList

◆ GetDependentFiles()

virtual int GetDependentFiles ( const MCHAR szFile,
bool  bRecurse,
MaxSDK::Array< MSTR > &  fileList,
bool  bIncludeOutputFiles = true 
)
pure virtual

Get list of dependent files.

Parameters
[in]szFilestring containing the filename to list dependent files from
[in]bRecursespecifies if method should include all dependent files
[out]fileListreference to a Tab of MSTRs. This parameter will be filled with a copy of the dependent files names
[in]bIncludeOutputFilesspecifies if output files should be included in dependency list
Returns
number of files added to fileList

◆ IsInputFile()

virtual bool IsInputFile ( const MCHAR szFile)
pure virtual

Determine if a file is an input file and a true dependent file.

Parameters
[in]szFilestring that contains the file name
Returns
true if the file is an input file, or false if it is an output or not found

◆ SelectFiles()

virtual void SelectFiles ( const MaxSDK::Array< MSTR > &  fileList,
bool  useResolvedFileNames = true 
)
pure virtual

Select files.

Parameters
[in]fileListreference to a Tab of MSTRs. This parameter specifies the list of files to select in the dialog.
[in]useResolvedFileNamesSet to false if fileList contains unresolved filenames and only files in the dialog that match that unresolved filename will be selected. If true, all files in the dialog that resolve to the filenames in the fileList will be selected. If a file in the dialog cannot be resolved the unresolved filename will be used for comparison.

◆ ClearSelection()

virtual void ClearSelection ( )
pure virtual

Clears all selections in dialog.

◆ Refresh()

virtual void Refresh ( )
pure virtual

Refreshes the dialog.

This method both updates the dependent file list and if connected to an ATS Provider it will query the server for updated version control status

◆ GetDisabled()

virtual bool GetDisabled ( )
pure virtual
Returns
true if disabled, false if not

◆ SetDisabled()

virtual void SetDisabled ( bool  bDisabled)
pure virtual

Set disabled state of dialog.

Parameters
[in]bDisabledtrue to disable, false to enable

◆ GetSilent()

virtual bool GetSilent ( )
pure virtual

Get silent state of dialog.

If connected to an ATS Provider, the provider might not respect the silent flag and display dialogs.

Returns
true if silent, false if not

◆ SetSilent()

virtual void SetSilent ( bool  bSilent)
pure virtual

Set silent state of dialog.

Parameters
[in]bSilenttrue to silent, false to enable

◆ GetAutoLogin()

virtual bool GetAutoLogin ( )
pure virtual

Get autologin state of dialog.

This will attempt to login to all registered ATS Providers when a project (scene file) is open.

Returns
true if autologin is enabled, false if not

◆ SetAutoLogin()

virtual void SetAutoLogin ( bool  bAutoLogin)
pure virtual

Set autologin state of dialog.

Parameters
[in]bAutoLogintrue to auto login, false to enable

◆ GetTreeView()

virtual bool GetTreeView ( )
pure virtual

Get state of tree view.

Returns
true if tree view is display, false if not

◆ SetTreeView()

virtual void SetTreeView ( bool  bTreeView)
pure virtual

Set state of tree view.

Parameters
[in]bTreeViewtrue to display tree view, false to display table view

◆ GetTableView()

virtual bool GetTableView ( )
pure virtual

Get state of table view.

Returns
true if table view is display, false if not

◆ SetTableView()

virtual void SetTableView ( bool  bTableView)
pure virtual

Set state of table view.

Parameters
[in]bTableViewtrue to display table view, false to display tree view

◆ GetCheckNetworkPaths()

virtual bool GetCheckNetworkPaths ( ) const
pure virtual

Get state of Check Network Path property.

Returns
true if the ATS system checks for the existence of files on network drives

◆ SetCheckNetworkPaths()

virtual void SetCheckNetworkPaths ( bool  bCheckPaths)
pure virtual

Set state of Check Network Path property.

Parameters
[in]bCheckPathstrue if the ATS should check for the existence of files on network drives

◆ GetDisplayExcluded()

virtual bool GetDisplayExcluded ( )
pure virtual

Get display state of excluded files.

Returns
true if excluded files are display, false if they are not

◆ SetDisplayExcluded()

virtual void SetDisplayExcluded ( bool  bDisplay)
pure virtual

Set display state of excluded files.

Parameters
[in]bDisplaytrue to display excluded, false to hide excluded files

◆ GetExcludeOutputFiles()

virtual bool GetExcludeOutputFiles ( )
pure virtual

Get the exclusion state of output files.

Returns
true if output files are excluded, false if they are not

◆ SetExcludeOutputFiles()

virtual void SetExcludeOutputFiles ( bool  bExclude)
pure virtual

Set the exclusion state of output files.

Parameters
[in]bExcludetrue to exclude output files, false to include output files

◆ ShowPromptsDialog()

virtual void ShowPromptsDialog ( )
pure virtual

Display Working Comment dialog.

◆ ShowWorkingCommentDialog()

virtual void ShowWorkingCommentDialog ( )
pure virtual

Display Working Comment dialog.

◆ ShowStatusLogDialog()

virtual void ShowStatusLogDialog ( )
pure virtual

Display Status Log dialog.

◆ NumProviders()

virtual int NumProviders ( )
pure virtual
Returns
number of registered ATS providers

◆ GetProvider()

virtual IATSProvider* GetProvider ( int  iProviderIndex)
pure virtual

Get IATSProvider pointer.

Parameters
[in]iProviderIndex0-based index of ATS Provider
Returns
pointer to IATSProvider interface

◆ GetProviderName()

virtual const MCHAR* GetProviderName ( int  iProviderIndex)
pure virtual

Get ATS Provider name.

Parameters
[in]iProviderIndex0-based index of ATS Provider
Returns
string that contains name of provider

◆ GetActiveProvider()

virtual int GetActiveProvider ( )
pure virtual

Get active ATS Provider index.

Returns
index of active ATS Provider

◆ SetActiveProvider()

virtual void SetActiveProvider ( int  iProviderIndex)
pure virtual

Set active ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider

◆ LoginProvider()

virtual bool LoginProvider ( int  iProviderIndex)
pure virtual

Login to specified ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider
Returns
true if the login was successful

◆ LogoutProvider()

virtual bool LogoutProvider ( int  iProviderIndex)
pure virtual

Logout of specified ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider
Returns
true if the logout was successful

◆ IsFileExcluded()

virtual bool IsFileExcluded ( int  iProviderIndex,
const MCHAR szFile 
)
pure virtual

Determine if a file is excluded by an ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider
[in]szFilestring that contains the file name
Returns
true if the file is excluded by the provider, false if it is not

◆ IsFileShareLocked()

virtual bool IsFileShareLocked ( int  iProviderIndex,
const MCHAR szFile 
)
pure virtual

Determine if a file is share locked by an ATS Provider.

A file is considered share locked if the file is checked out by another user at a shared location. Share locked files should be treated as read-only by users who are accessing the file and are not the owner of the lock.

Parameters
[in]iProviderIndex0-based index of ATS Provider. If iProviderIndex is -1, the method will check all providers for a share locked status.
[in]szFilestring that contains the file name
Returns
true if the file is share locked by the provider, false if it is not

◆ Checkin()

virtual bool Checkin ( int  iProviderIndex,
const MaxSDK::Array< MSTR > &  fileList,
MSTR strComment 
)
pure virtual

Checkin list of files to an ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider
[in]fileListreference to a Tab of MSTRs.
[in]strCommentreference to MSTR
Returns
true if status from version control provider was successful, false if otherwise

◆ Checkout()

virtual bool Checkout ( int  iProviderIndex,
const MaxSDK::Array< MSTR > &  fileList,
MSTR strComment 
)
pure virtual

Checkout list of files to an ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider
[in]fileListreference to a Tab of MSTRs.
[in]strCommentreference to MSTR
Returns
true if status from version control provider was successful, false if otherwise

◆ UnCheckout()

virtual bool UnCheckout ( int  iProviderIndex,
const MaxSDK::Array< MSTR > &  fileList 
)
pure virtual

Undo Checkout for list of files fr an ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider
[in]fileListreference to a Tab of MSTRs.
Returns
true if status from version control provider was successful, false if otherwise

◆ AddFiles()

virtual bool AddFiles ( int  iProviderIndex,
const MaxSDK::Array< MSTR > &  fileList,
MSTR strComment,
Tab< bool > *  pIsHidden = NULL 
)
pure virtual

Add list of files to an ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider
[in]fileListreference to a Tab of MSTRs.
[in]strCommentreference to MSTR
[in]pIsHiddenoptional pointer to Tab<bool> that corresponds to the fileList. A true entry indicates that the file will be added with a hidden status (if supported by the provider).
Returns
true if status from version control provider was successful, false if otherwise

◆ GetLatest()

virtual bool GetLatest ( int  iProviderIndex,
const MaxSDK::Array< MSTR > &  fileList 
)
pure virtual

Get latest version of list of files for an ATS Provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider
[in]fileListreference to a Tab of MSTRs.
Returns
true if status from version control provider was successful, false if otherwise

◆ CheckForDependentFiles()

virtual void CheckForDependentFiles ( int  iProviderIndex,
const MCHAR szFilename 
)
pure virtual

This will verify that the dependent files, as reported by the ATS Provider, are up to date on the user's machine.

Parameters
[in]iProviderIndex0-based index of ATS Provider
[in]szFilenamestring that contains the file name to check dependent files for

◆ CheckForCheckedOutFiles()

virtual void CheckForCheckedOutFiles ( int  iProviderIndex)
pure virtual

Policy check for checked out files.

This will warn the user of any files that are currently checked out. This is typically called when a scene is about to be closed and the user should check in any checked out files.

Parameters
[in]iProviderIndex0-based index of ATS Provider

◆ CheckForUnControlledFiles()

virtual void CheckForUnControlledFiles ( int  iProviderIndex)
pure virtual

Policy check for uncontrolled files.

This will warn the user of any files that are not under version control. This is typically called when a scene is about to be closed and the user should add any uncontrolled files to the ATS provider.

Parameters
[in]iProviderIndex0-based index of ATS Provider

◆ CheckForOutDatedFiles()

virtual void CheckForOutDatedFiles ( int  iProviderIndex)
pure virtual

Policy check for out dated files.

This will warn the user of any files that are not up to date. This is typically called when a scene is loaded and the user should update outdated files.

Parameters
[in]iProviderIndex0-based index of ATS Provider

◆ CheckForSceneFileCheckOut()

virtual void CheckForSceneFileCheckOut ( int  iProviderIndex)
pure virtual

Policy check scene file.

This will warn the user if the scene file is under control and it is not checked out. This is typically called when a scene is loaded.

Parameters
[in]iProviderIndex0-based index of ATS Provider

◆ SetWorkingComment()

virtual void SetWorkingComment ( const MCHAR szComment)
pure virtual
Parameters
[in]szCommentstring that contains the comment

◆ GetWorkingComment()

virtual const MCHAR* GetWorkingComment ( )
pure virtual

Get the current Working Comment.

Returns
string that contains the comment

◆ AppendStatusLog()

virtual void AppendStatusLog ( const MCHAR szStatus)
pure virtual

Append status message to Status Log.

Parameters
[in]szStatusstring that contains the status message

◆ ClearStatusLog()

virtual void ClearStatusLog ( )
pure virtual

Clear the contents of the Status Log.

◆ GetStatusLog()

virtual const MCHAR* GetStatusLog ( )
pure virtual

Get the conents of the Status Log.

Returns
string that contains the contains the status log

◆ SetPath()

virtual bool SetPath ( const MCHAR aNewPath,
bool  aCreateOutputFolder = false 
)
pure virtual

Sets the path component of all listed assets to the value passed in to this function.

Note: If the Resolve files and folders to UNC paths option is turned on then this function will automatically convert mapped-drive paths to their UNC equivalent.

Parameters
[in]aNewPathThe path value that will be applied to all listed assets.
[in]aCreateOutputFolderIf repathing an output directory, and the path being repathed to does not exist, create path folder(s).
Returns
true if the action succeeds and the asset(s) are repathed

◆ SetPathOnSelection()

virtual bool SetPathOnSelection ( const MCHAR aNewPath,
bool  aCreateOutputFolder = false 
)
pure virtual

Sets the path on the asset selection set.

Sets the path component of selected assets to the value passed in to this function.

Note: If the Resolve files and folders to UNC paths option is turned on then this function will automatically convert mapped-drive paths to their UNC equivalent.

Precondition
1+ assets should be selected in the ATS (see SelectFiles above)
Parameters
[in]aNewPathThe path value that will be applied to all selected assets.
[in]aCreateOutputFolderIf repathing an output directory, and the path being repathed to does not exist, create path folder(s).
Returns
true if the action succeeds and the asset(s) are repathed

◆ RetargetCommonRoot()

virtual bool RetargetCommonRoot ( const MCHAR aNewPath,
bool  aCreateOutputFolder = false 
)
pure virtual

Retargets the common-root portion of all assets listed in the ATS.

Will retarget the common-root of all assets to the value passed in.
For example, if all assets belong to C:\ but are found in different sub-directories of C:\, then only the C:\ will be repathed.

Note: If the Resolve files and folders to UNC paths option is turned on then this function will automatically convert mapped-drive paths to their UNC equivalent.

Precondition
That all editable assets have some common-root portion
Parameters
[in]aNewPathThe path portion that will be prepended in the place of the common-root.
[in]aCreateOutputFolderIf repathing an output directory, and the path being repathed to does not exist, create path folder(s).
Returns
true if the action succeeds and the asset(s) are repathed

◆ RetargetCommonRootOfSelection()

virtual bool RetargetCommonRootOfSelection ( const MCHAR aNewPath,
bool  aCreateOutputFolder = false 
)
pure virtual

Retargets the common-root portion of assets selected in the ATS.

Will retarget the common-root of selected assets to the value passed in.
For example, if the selected assets belong to C:/resources/projectA/ but are found in different sub-directories of that folder, then only the C:/resources/projectA/ portion will be repathed.

Note: If the Resolve files and folders to UNC paths option is turned on then this function will automatically convert mapped-drive paths to their UNC equivalent.

Precondition
That all selected assets have some common-root portion
Parameters
[in]aNewPathThe path portion that will be prepended in the place of the common-root.
[in]aCreateOutputFolderIf repathing an output directory, and the path being repathed to does not exist, create path folder(s).
Returns
true if the action succeeds and the asset(s) are repathed

◆ RetargetSelection()

virtual bool RetargetSelection ( const MCHAR aNewPath,
bool  aCreateOutputFolder = false 
)
pure virtual

Retargets single-asset selection to the value passed in.

Retargets a single asset to the value passed-into this function.

Note: If the Resolve files and folders to UNC paths option is turned on then this function will automatically convert mapped-drive paths to their UNC equivalent.

Precondition
That 1 asset only be selected in the ATS.
Postcondition
The single asset is retargeted to the value passed into this function.
Parameters
[in]aNewPathThe value (including filename) that the single asset should be retargetd to.
[in]aCreateOutputFolderIf repathing an output directory, and the path being repathed to does not exist, create path folder(s).
Returns
true if the action succeeds and the asset(s) are repathed

◆ ResolveSelectionToUNC()

virtual bool ResolveSelectionToUNC ( )
pure virtual

Resolve the current selection set to its UNC equivalent,.

Resolves the current selection set to UNC, regardless of the current application setting.

Precondition
That one or more assets be selected in the ATS - one of the assets must be an absolute path
Postcondition
One or more assets is resolved to UNC.
Returns
true if the action succeeds and the asset(s) are resolved

◆ ResolveSelectionRelativeToProjectFolder()

virtual bool ResolveSelectionRelativeToProjectFolder ( )
pure virtual

Converts the current selection set to relative paths.

Converts the current selection set to relative paths.
If the asset is Found (meaning that it is found in the search path) in a location other than that pointed to by the absolute path, then the relative path will be calculated based on this Found location. If not, then the absolute path is converted to an relative path relative to the current Project Folder setting, if possible.

Precondition
That one or more assets be selected in the ATS - one of the assets must be an absolute path.
Postcondition
One or more assets is resolved to a path relative to the current Project Folder setting, as long as the absolute path exists on the same drive (or UNC) as the current Project Folder.
Returns
true if the action succeeds and the asset(s) are resolved

◆ ResolveSelectionToAbsolute()

virtual bool ResolveSelectionToAbsolute ( )
pure virtual

Converts the current selection set to absolute paths.

Converts the current selection set paths to absolute paths. If the asset is Found (meaning that it is found in the search path), then the absolute path will point to the found location. If not, then the relative path is converted to an absolute path relative to the current Project Folder setting.

Precondition
That one or more assets be selected in the ATS - one of the assets must be a relative path
Postcondition
One or more assets is resolved to an absolute path.
Returns
true if the action succeeds and the asset(s) are resolved

◆ RetargetAssets()

virtual bool RetargetAssets ( ReferenceTarget refTarget,
const MCHAR aOldPath,
const MCHAR aNewPath,
bool  aCreateOutputFolder = false 
)
pure virtual

Generically remaps assets declared by ReferenceTarget whose path value is equal to aOldPath (case-insensitive comparison), to the value aNewPath passed-in.

This method calls the EnumAuxFiles implementation of ReferenceTarget to get a listing of assets.

Parameters
[in]refTargetThe ReferenceTarget object from which assets are declared
[in]aOldPathUsed to determine which asset to retarget. Any asset declared with this path will be retargeted to aNewPath.
[in]aNewPathThe retarget value.
[in]aCreateOutputFolderIf repathing an output directory, and the path being repathed to does not exist, create path folder(s).
Returns
true if the action succeeds and the asset(s) are repathed, false is returned if no asset is repathed