RhinoCommon API
ObjectTableAddBrep Method (Brep, ObjectAttributes) |
Adds a brep object to Rhino.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

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: GuidA unique identifier for the object.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8