ACT provides APIs for customizing the interface and functionality of DesignModeler. Once customizations are in place, you can use DesignModeler APIs to create and manipulate geometries. You first use APIs to define and generate primitives and bodies. You then use APIs to apply various operations, tools, or automated processes to the resulting geometries.
The code for creating primitive bodies or applying operations must be integrated into
the callback <ongenerate>
. The following examples address
working with a selected graphic, creating different types of primitives, and applying
different operations:
For comprehensive information on all ACT APIs and their properties, refer to the Ansys ACT API Reference Guide.