Getting Started with Knowledge Fusion

Set Knowledge Fusion (KF) for development and production

DEVELOPMENT ENVIRONMENT SETUP:

  • Create a directory, name it anything you would like
  • Create a subdirectory name it dfa_development, or something similiar
  • Launch NX -> Create a new part -> Tools -> Knowledge Fusion -> DFA Manager
  • Add your dfa_development path into the new Directory field
  • Apply dialog
  • Cancel dialog

Example Directory Structure:
C:\
–myApplication
—-dfa
—-application

Now under Tools -> Knowledge Fusion -> Applications you can instantiate your application if you have a coresponding dialog file (dlg). Also under the KF Navigator you can Add Child Rule of your class.

What this environment gives you is, while your in development you can edit your dfa file, save, and reload in NX to test. With out having to restart NX.

PRODUCTION ENVIRONMENT SETUP:

  • Rename your dfa_development directory (from previous development section)
  • remove the path in your DFA Manager dialog
  • shut down NX
  • edit your “custom_dirs” file (located at UGII_BASE_DIR/UGII/menus) and add the root directory of your directory. Not the dfa directory path but the parent directory of that
  • If you have dialog files, create a directory called application and put the dlg files in there

This is a suitable deployment environment. Instead of modifying the custom_dir file you can specify a environment variable “UGII_CUSTOM_DIRECTORY_FILE” that points to your a site custom_dirs file.

Since NX treats this as a system class you will have to restart NX for changes to take effect. Reloading the KF rules does not work in this instance. This is supposed to be production stable applications not development. It helps in performance with this configuration.



No Responses to “ “Getting Started with Knowledge Fusion”

  1. [...] Where do my custom files go? You have custom menu files (.men) and your own toolbar (.tbr) files, you will put that in the startup directory. Custom dialog (.dlg) files go into the application directory along with your NX/Open applicaition (dll, so, sl) and custom bitmaps you use. Knowledge Fusion application (dfa or prt) goes into the dfa directory, more information on Knowledge Fusion here. The udo directory is for NX/Open UDO applications, and startup is also for special NX/Open applications that need it (for example a NX standard out window). [...]

Leave a Reply