The API function api_remove_faces is used to perform this operation. The API can take one or more faces that all belong to the same sheet or solid body. The body which owns the faces given as input is modified directly: no copy is made.
outcome api_remove_faces(number of faces, face list, bounding box for intersection, options)
For additional information, refer to Remove Face(s) Interface.
Remove Open Gap
The API function api_remove_open_gap is used to close an open gap in a sheet body by extending the neighboring faces.
outcome api_remove_open_gap(edge(s), bounding box for intersection, options)
Remove Wire Edges
The API function api_remove_wire_edges is used to remove edges from a wire.
outcome api_remove_wire_edges(number of edges, edge list, bounding box for intersection, options)
Versioning and Journaling
Versioning and Journaling are available for Remove Faces using the standard AcisOptions mechanism.
Error Information Handling
- Main article: Local Operations Error Information Handling
ACIS returns as much information as possible, such as the bad face or edge that caused the failure, in the outcome object returned by api_remove_faces.
All Local Operations API functions accept a lop_options object. Several of these options existed as Global Options in previous releases; however, the recommended interface is to use lop_options.
For historical reasons some global options affect the behavior of Local Operations. Refer to Local Operations global options. However, the preferred interface is to use lop_options to control the behavior of the Local Operations API functions.