CM4D.ini Files

In this topic: Hide

 

The Cm4d.ini file contains the default settings that CM4D reads on startup. You may need to make some changes to your CM4D.ini file in order to change a default setting. To view your CM4D.ini file, open Windows Explorer, expand your Program Files, and click on the CM4D folder.

Some things to keep in mind when dealing with the Cm4d.ini file:

·        For all of the following parameters with a value of either 1 or 0

§        Enable =1

§        Disable =0

·        The # sign at the beginning of the line comments out (disables) the attribute/parameter

·        When setting paths for the various logging options in the Cm4d.ini file, be sure that users have write access to those folders to ensure log files are saved properly

·        Once a CM4D document is saved, some of the defaults set in the Cm4d.ini file will no longer apply

·        When CM4D is installed, the Cm4d.ini file is replaced with a generic version provided along with the installation package, so if you have settings you wish to keep, please save them to another folder before installing the new version of CM4D

Attributes and Parameters

The Cm4d.ini contains the following sections:

·        [defaults]

·        [DATABASES]

·        [CM4Di]

·        [WorkCell]

·        [Security]

·        [NavTree]

·        [MSA]

·        [StatRules]

·        [Annot Templates]

·        [UserVariables]

·        [DataSet]

·        [DeviationType]

Command Line Selection

You can specify which cm4d.ini file you would like to use when running CM4Dc using one of the two following methods:

1.     One way is to name the Cm4d.ini file the same as the *.4dc file (e.g., Project.4dc and Project.ini). Then, when you double click the Project.4dc file to run CM4Dc, it will automatically use the Project.ini file.

2.     The second way is to add the network path to the cm4d.ini file as a parameter for starting CM4Dc. For example, in the Target field of the Shortcut to CM4D.exe Properties, insert: "C:\Program Files\ATS CM4D\Cm4d.exe" -c4 "\\computername\public\C\foldername\Project.4dc" "-\\computername\public\C\foldername\cm4d.ini"