ObjectTable.AddBrep Method (Brep, ObjectAttributes)

ObjectTableAddBrep Method (Brep, ObjectAttributes)

Adds a brep object to Rhino.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddBrep(
	Brep brep,
	ObjectAttributes attributes
)
Public Function AddBrep ( 
	brep As Brep,
	attributes As ObjectAttributes
) As Guid

Parameters

brep
Type: Rhino.GeometryBrep
A duplicate of this brep is added to Rhino.
attributes
Type: Rhino.DocObjectsObjectAttributes
attributes to apply to brep.

Return Value

Type: Guid
A unique identifier for the object.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also