Sets the major layout pattern as NumberWithSpacing, while specifying the needed parameters for this pattern.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2013
Syntax
| C# |
|---|
public void SetMajorLayoutAsNumberWithSpacing(
double overallWidth,
double minorStartOverhang,
int numberOfWires,
double spacing
) |
| Visual Basic |
|---|
Public Sub SetMajorLayoutAsNumberWithSpacing ( _
overallWidth As Double, _
minorStartOverhang As Double, _
numberOfWires As Integer, _
spacing As Double _
) |
| Visual C++ |
|---|
public:
void SetMajorLayoutAsNumberWithSpacing(
double overallWidth,
double minorStartOverhang,
int numberOfWires,
double spacing
) |
Parameters
- overallWidth
- Type: System..::..Double
The entire width of the wire sheet in the minor direction.
- minorStartOverhang
- Type: System..::..Double
The distance from the edge of the sheet to the first wire in the minor direction.
- numberOfWires
- Type: System..::..Int32
The number of the wires to set in the major direction.
- spacing
- Type: System..::..Double
The distance between the wires in the major direction.
Exceptions
See Also