Applying Operations

The DesignModeler API Operations enables you to perform different operations on a geometric body. Available operations can be divided into two different categories: Primary and Boolean Operations and Tools Operations.

 

The operations variable ExtAPI.DataModel.GeometryBuilder.Operations is the gateway for performing operations. The code must be integrated into the callback <ongenerate>.

The script function ongenerate() can be used to perform various types of operations on a geometry feature. The API provides primary and Boolean operations that allow you to specify properties such as body type, dimensions, shape, point coordinates, and material. It also offers a number of tools for manipulating your geometry, including actions such as copying or deleting a body or transform operations for creating a body based on another body or topological components.