Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.23 KB

File metadata and controls

43 lines (35 loc) · 1.23 KB

AddSolid

Description

Function AddSolid creates a new solid addition object from the referenced source objects. If the operation succeeds, the source objects will then be contained within the newSolid object, as the primitives which define the CSG.

Operation Result Result Code
Success 0
Null geometry error 1
Geometry error 2
Out of memory error 4
Bad group error 5
Invalid object type 6
Bad input 20
Handles not in document 21
FUNCTION AddSolid(
				obj1         : HANDLE;
				obj2         : HANDLE;
				VAR newSolid : HANDLE): INTEGER;
def vs.AddSolid(obj1, obj2):
    return (INTEGER, newSolid)

Parameters

Name Type Description
obj1 HANDLE Handle to source object for add operation.
obj2 HANDLE Handle to source object for add operation.
newSolid HANDLE Handle to resultant object from add operation.

Examples

BeginXtrd

Version

Availability: from MiniCAD 7.0

Category