Overview
This article describes the best-known way for Kymdata CADS integration to M-Files.
Below settings must be entered by a local system administrator with knowledge of how-to mange registry settings locally or by over the Active Directory Group Policy.
Solution
For the software to be capable to work with M-Files Desktop, all drawings (DWG, DRW), reference images, layer files, helper files .ini and .tmp - must be stored to the same multi-file document (to the M-Files traditional folder).
By default, CADS opens and saves the helper files to the ID path. It is mandatory to change settings so that CADS stores them to the path, where the user operates the drawing. This can be defined by the following registry keys cads.exe to open all documents from the user defined view, not from the ID view, which is the default location.
Disable open from ID View by process name
Opening files from ID view can be disabled for certain applications by defining a list of excluded process names in Windows registry. This implementation requires knowledge of Windows registry. If you are unsure, please contact your IT support.
Use following registry keys to disable the opening from ID view for known processes:
|
Key |
Value Name |
Value Type |
Value Data |
|
HKEY_CURRENT_USER\Software\Motive\M-Files\<version>\Client\MFShell\<vault name> |
OpenFilesFromIdViewExcludedProcesses |
MULTI_SZ |
Process name, e.g. iexplore.exe . One process name per line. |
Following process names are excluded from ID view opening by default: notepad.exe, mspaint.exe, wordpad.exe, outlook.exe, iexplore.exe, firefox.exe, Alibre Design.exe.
In order to allow ID view opening for these processes, override default excluded processes by defining additional registry key with value 0:
|
Key |
Value Name |
Value Type |
Value Data |
|
HKEY_CURRENT_USER\Software\Motive\M-Files\<version>\Client\MFShell\<vault name> |
OpenFilesFromIdViewUseDefaultExcludedProcesses |
DWORD |
0 = Do not exclude default processes 1 = Exclude default processes |
Also, the same way as registry setting above is set, the following registry keys must be entered. If the path does not exist, then it must be created:
[HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\VERSION\Client\MFClient\Processes\cads.exe]
"EnableDirectCheckIn"=dword:00000001
"EnableDirectCheckOut"=dword:00000001
"EnableDirectFileCreationInTraditionalFolders"=dword:00000001
"EnableDirectFileDeletionInTraditionalFolders"=dword:00000001
"EnableDirectTraditionalFolderCreation"=dword:00000001
"DisableAutomaticSaveAsIntegration"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\VERSION\Client\MFClient]
"HideObjectIDsInNamesInTraditionalFolders"=dword:00000001
"TraditionalFolderFileStreams_AllowDeletion"=dword:00000001
"TraditionalFolderFileStreams_AllowModification"=dword:00000001
"TraditionalFolderFileStreams_AllowRename"=dword:00000001
"NoVCI"=dword:00000001
"DocFileStreams_AllowDeletion"=dword:00000001
"DocFileStreams_AllowRename"=dword:00000001
"SkipRDFCache"=dword:00000001
After setting all this up, the workstation should be restarted.
Applies to M-Files Desktop 11.1 and up.