Recent News
SNAP Version 2.6.0 Released
November 21, 2017
AptPlot 6.8.0 Released
December 1, 2017
PyPost 1.3.0 Released
December 1, 2017

Programmer's Manual

CAFEAN Pre-Processor Plug-in API Revision 1

This API documents the Common Application Framework for Engineering Analysis (CAFEAN) pre-processor plug-in architecture. Additional sections have been added to Revision 1 of the API documentation to include information on:

  • Saving and Loading Plug-in data in PIB format.
  • Undo and Redo.
  • Implementation of Model Validation Tests.
  • Customizing the 2D View.

An example plug-in is also available which demonstrates how to create a simple feature plug-in. This simple feature plug-in adds two menu items. One menu item is added to the edit menu which opens a "Hello World" dialog. A second menu item is added to the tools menu which displays the number of DrawnComponents contained in each open view of the current model in the MessageWindow. To build and install the plug-in, change the snapinstalldir variable located in build.xml to point to your SNAP installation directory. Running ant http://ant.apache.org/) should create the plug-in and install it in the plug-ins directory.

Appendix A of the API was updated September 10, 2005 to include documentation on additional API classes on user defined numerics, validation tests, component connections and configuration.