Boolean
Boolean
Description
The Type utilized in the Bcc.CADOperation function to perform boolean operations between multiple NURB bodies.
Keys
In addition to the standard Bcc.CADOperation keys, the following keys apply specifically to the Type="Boolean"
- BooleanType - integer value representing the type of Boolean operation to perform when utilizing the Type="Boolean". The options are as follows:
- 0 - Add/Union
- 1 - Subtract/Difference
- 2 - Intersection
- IDList - list of entity ID's of the NURB bodies for the Boolean operation
Return
Returns a list of each entity ID for the entities that are created in the BobCAD database.
Example
-- Get the selected entities in the workspace
selectedIDs = Bcc.GetSelectedEntities(true)
-- Add the selected solids together creating a new solid body
entIDList = Bcc.CADOperation({CmdName="Boolean Add",Type="Boolean",BooleanType=0,IDList=selectedIDs})