InstanceDefinitionTableModifyInsertionPlane Method |
Modifies the insertion plane of an instance definition. The definition's geometry
is re-origined so that the supplied plane becomes the new insertion plane - its origin
is the new insertion point and its axes become the definition's axes. Existing instance
references are not modified, so they will appear to move. Only embedded instance
definitions are supported; the function returns false for linked definitions.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic bool ModifyInsertionPlane(
int idefIndex,
Plane plane
)
Public Function ModifyInsertionPlane (
idefIndex As Integer,
plane As Plane
) As Boolean
Parameters
- idefIndex
- Type: SystemInt32
The index of the instance definition to be modified. - plane
- Type: Rhino.GeometryPlane
The new insertion plane, in the definition's current coordinates.
Return Value
Type:
Booleantrue if operation succeeded.
See Also