File3dmObjectTableAddInstanceObject Method (Int32, Transform, ObjectAttributes) |
Adds an instance reference geometry object to the table.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.5
Syntax public Guid AddInstanceObject(
int instanceDefinitionIndex,
Transform instanceXform,
ObjectAttributes attributes
)
Public Function AddInstanceObject (
instanceDefinitionIndex As Integer,
instanceXform As Transform,
attributes As ObjectAttributes
) As Guid
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:
GuidA unique identifier for the object.
See Also