CADability dotNET
Removes the given solid from all other solids in the model. If there are no solids in the model or this solid is disjoint with all other solids in the model there will be no effect.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public bool RemoveSolid(
	Solid solid,
	bool onlySameLayer
)
Visual Basic
Public Function RemoveSolid ( _
	solid As Solid, _
	onlySameLayer As Boolean _
) As Boolean
Visual C++
public:
bool RemoveSolid(
	Solid^ solid, 
	bool onlySameLayer
)

Parameters

solid
Type: CADability.GeoObject..::..Solid
the solid to remove
onlySameLayer
Type: System..::..Boolean
if true: check only with solids on the same layer

See Also