File3dmObjectTable.AddSubD Method (SubD, ObjectAttributes)

File3dmObjectTableAddSubD Method (SubD, ObjectAttributes)

Adds a SubD to the document

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddSubD(
	SubD subd,
	ObjectAttributes attributes
)
Public Function AddSubD ( 
	subd As SubD,
	attributes As ObjectAttributes
) As Guid

Parameters

subd
Type: Rhino.GeometrySubD
the Subd to add
attributes
Type: Rhino.DocObjectsObjectAttributes
Attributes to apply

Return Value

Type: Guid
A unique identifier for the SubD, or Empty on failure
See Also