Application Procedural Interface (API) functions provide the main interface between applications and ACIS. An API is a function that an application calls to create, change, or retrieve data. An API function combines modeling functionality with application support features such as argument error checking and roll back. When an error occurs in an API routine, ACIS automatically rolls the model back to the state before that API routine was called. This ensures that the model is left in an uncorrupted state.
The signatures of the API functions remain consistent from release to release, regardless of modifications to low-level ACIS data structures or functions.
Refer to the the ACIS Reference Library Documentation for a complete list of all API functions and a detailed description of each. API function names begin with the prefix api_.
Direct Interface Functions
A Direct Interface (DI) function provides access to modeler functionality without the additional application support features of an API. Unlike APIs, these functions are not guaranteed to remain consistent from release to release.
DI functions are not available to access all of the functionality in ACIS. They are generally useful for performing operations that do not change the model, such as inquiries. Some DI functions are documented in the ACIS Reference Library Documentation.