Interfaces > Core Interfaces > FileLinkMgr |
Previously available in Autodesk VIZ, this Core Interface is now part of 3ds Max 7 and higher.
Returns the number of linked files. Read-only.
<bool>FileLinkMgr.Attach <String>filename fileformat:<enum> showUI:<bool> filename is In parameter fileformat enums: {#UseFileExt | #DWG | #DXF} fileformat default value: #UseFileExt showUI default value: false
Attaches the specified file to the current scene. By default, the file extension of the specified file will determine the file format to be linked.
When the optional showUI parameter is set to True , the File Linking dialog will be displayed.
When set to False or not specified, the linking will be performed silently.
Returns True on success, False on failure.
<bool>FileLinkMgr.AttachWithPreset <String>filename <String>preset showUI:<bool> filename is In parameter preset is In parameter showUI default value: false
Attaches the specified file name using the supplied preset.
When the optional showUI parameter is set to True , the File Linking dialog will be displayed.
Returns True on success, False on failure.
The preset string is the name of the preset inside <3dsmax>\plugcfg\filelink.ini, not the name of the file itself.
<bool>FileLinkMgr.Reload <integer>which showUI:<bool> translateMaterials:<bool> showUI default value: false translateMaterials default value: true
Reloads the specified indexed File Link.
Detaches the specified indexed File Link.
Returns True on success, False on failure.
Removes specified indexed File Link.
Returns True on success, False on failure.
Returns True if any of the specified nodes the supplied array originates from a linked file.
Changes the file name of the specified indexed File Link.
Returns True on success, False on failure.
<bool>FileLinkMgr.SelectNodes <integer>which clearCurrentSel:<bool> ClearCurrentSel default value: true
Selects all nodes in the scene associated with specified indexed File Link.