| Revit 2022.1 API |
| RebarFreeFormAccessor..::..SetLayoutAsMaximumSpacing Method |
| RebarFreeFormAccessor Class See Also |
Sets the Layout Rule property of rebar set to Maximum Spacing.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2018
Syntax
| C# |
|---|
public void SetLayoutAsMaximumSpacing( double spacing ) |
| Visual Basic |
|---|
Public Sub SetLayoutAsMaximumSpacing ( _ spacing As Double _ ) |
| Visual C++ |
|---|
public: void SetLayoutAsMaximumSpacing( double spacing ) |
Parameters
- spacing
- Type: System..::..Double
The maximum spacing of bars in set.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..DisabledDisciplineException | None of the following disciplines is enabled: Structural. |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | This RebarFreeFormAccessor doesn't contain a valid rebar reference. -or- This RebarFreeFormAccessor Rebar doesn't contain a valid server GUID. |