Click or drag to resize

File3dmObjectTableAddInstanceObject Method (Int32, Transform, ObjectAttributes)

Adds an instance reference geometry object to the table.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddInstanceObject(
	int instanceDefinitionIndex,
	Transform instanceXform,
	ObjectAttributes attributes
)

Parameters

instanceDefinitionIndex
Type: SystemInt32
The index of the instance definition geometry object.
instanceXform
Type: Rhino.GeometryTransform
The transformation.
attributes
Type: Rhino.DocObjectsObjectAttributes
The object attributes.

Return Value

Type: Guid
A unique identifier for the object.
See Also