| Revit 2023 API |
| BalusterPattern..::..DuplicateBaluster Method |
| BalusterPattern Class See Also |
Duplicates the baluster pointed by given index in the main baluster pattern.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2019
Syntax
| C# |
|---|
public BalusterInfo DuplicateBaluster( int index ) |
| Visual Basic |
|---|
Public Function DuplicateBaluster ( _ index As Integer _ ) As BalusterInfo |
| Visual C++ |
|---|
public: BalusterInfo^ DuplicateBaluster( int index ) |
Parameters
- index
- Type: System..::..Int32
Baluster index.
Return Value
The duplicated baluster.
Remarks
The new baluster will be inserted just after the source baluster.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | The index index is out of range. |