Defines the basis of the old coordinate system in the new coordinate system.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
C# |
---|
public XYZ this[ int idx ] { get; set; } |
Visual Basic |
---|
Public Property Basis ( _ idx As Integer _ ) As XYZ Get Set |
Visual C++ |
---|
public: property XYZ^ Basis[int idx] { XYZ^ get (int idx); void set (int idx, XYZ^ value); } |
Parameters
- idx
- Type: System..::..Int32
The index of the basis vector: 0, 1 or 2.
Remarks
This corresponds to the first three column vectors of the conventional 3x4 matrix
representation.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | Thrown when the given index is larger than 2 in the getter and setter. |
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when the transform is internally marked as read-only. |