Revit 2017.1 API |
WallSweepInfo Constructor (Boolean, WallSweepType) |
WallSweepInfo Class See Also |
Constructs a new WallSweepInfo instance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since:
2012
Syntax
C# |
---|
public WallSweepInfo( bool fixed, WallSweepType type ) |
Visual Basic |
---|
Public Sub New ( _ fixed As Boolean, _ type As WallSweepType _ ) |
Visual C++ |
---|
public: WallSweepInfo( bool fixed, WallSweepType type ) |
Parameters
- fixed
- Type: System..::..Boolean
True if the WallSweepInfo should be fixed (suitable for use in CompoundStructure.AddWallSweep()). False if the WallSweepInfo should be suitable for use in standalone wall sweep or reveal elements.
- type
- Type: Autodesk.Revit.DB..::..WallSweepType
The type of the WallSweepInfo instance.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |