Class Name vs. DFA File Names

Overview

How To

Options

Related Topics


A DFA file may contain multiple class definitions, where each class begins with a DefClass statement. The name of the first class in the DFA file must match the file name of the DFA file, with the exception of case sensitivity, as shown below. The class name can contain upper case letters, but the DFA file name should use lower case letters on non-Windows systems. If the class name begins with a "%", do not include the "%" in the file name. All class names must be unique among all DFA files and all system classes.

Name of First Class in DFA File

Valid DFA File Name

BracketAssembly

bracketassembly.dfa

%bearing_data

bearing_data.dfa


Warning:

Defining multiple classes in a single DFA file is usually not recommended since only the first class defined in the file is visible in the Knowledge Fusion Navigator.

Warning:

Class recursion is not recommended (ie. a child of the same class cannot be of the same class as the class itself).