Click or drag to resize

ObjectTableAddInstanceObject Method (Int32, Transform)

Adds an instance object to the document.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Guid AddInstanceObject(
	int instanceDefinitionIndex,
	Transform instanceXform
)

Parameters

instanceDefinitionIndex
Type: SystemInt32
The index of the instance definition.
instanceXform
Type: Rhino.GeometryTransform
The instance transformation.

Return Value

Type: Guid
A unique identifier for the object if successful. Guid.Empty it not successful.
See Also