Click or drag to resize

RhinoObjectCreateSections Method

Generate section curves by intersecting a plane with an object of type Brep, Extrusion, SubD ,Mesh or Block Instance.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public GeometryBase[] CreateSections(
	Plane plane,
	string name,
	double tolerance,
	out ObjectAttributes[] objectAttributes
)

Parameters

plane
Type: Rhino.GeometryPlane
Intersecting plane.
name
Type: SystemString
Name for section of objects.
tolerance
Type: SystemDouble
The intersection tolerance. When in doubt, use the document's model absolute tolerance.
objectAttributes
Type: Rhino.DocObjectsObjectAttributes
Object attributes, one for each returned geometry item.

Return Value

Type: GeometryBase
Section geometry in the form of Breps, Extrusions, Meshes, and Curves if successful. An empty array if unsuccessful.
See Also