Overview

The first edition of AP238 is formally known as STEP Part 238: Application Protocol for Computerized Numerical Controllers, commonly referred to as STEP-NC. The standard was published in 2007 as ISO 10303-238:2007(E). This has since been replaced by a second edition, to be published in 2020.

Programming Notes

The AP238 first edition schema is identified by the StplibSchemaType stplib_schema_ap238 enum. The schema name has changed in the second edition and now uses the stplib_schema_ap238e2 enum.

RoseDesign * d;

// first edition schema name "INTEGRATED_CNC_SCHEMA"
stplib_put_schema (d, stplib_schema_ap238);

switch (stplib_get_schema(d)) {
case stplib_schema_ap238:
    // ap238 first edition
}

Recommended Practices

The STEP-NC API is built on top of the EXPRESS library and provides higher-level operations to work with machining resources and concepts. There is also additional information on the STEP-NC Technical Resources Page, and the recommended practice documents available on the CAx-IF site are also applicable to AP238.